terraform-google-modules / terraform-google-vpc-service-controls

Handles opinionated VPC Service Controls and Access Context Manager configuration and deployments
https://registry.terraform.io/modules/terraform-google-modules/vpc-service-controls/google
Apache License 2.0
59 stars 67 forks source link

protected_project_ids variable is not defined in the module, how do i use it? #67

Closed tsm2k closed 2 years ago

tsm2k commented 2 years ago

TL;DR

it's been used in the example alright, but when i apply the code, it throws me this error "An argument named "protected_project_ids" is not expected here." How do i resolve this?

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/blob/master/examples/simple_example/main.tf

same as here

Terraform Version

Terraform v1.0.11
on linux_amd64
+ provider registry.terraform.io/hashicorp/google v3.90.1

Additional information

No response

morgante commented 2 years ago

This is just an example. Examples are meant to show you how you can use the module.

You should copy and paste the example to your own configuration to get started.

The inputs/outputs accepted by the module are documented in the README.