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

Added support for dry-run policies in service perimeter. #37

Closed rosmo closed 4 years ago

rosmo commented 4 years ago

Added three new parameters to regular service perimeter: access_levels_dry_run, resources_dry_run and restricted_services_dry_run. If one of those is set to non-empty, it will trigger setting a dry-run policy.

rosmo commented 4 years ago

@morgante Tests are passing now. I had to update all the Google providers to latest version (I opted 3.19.0 instead of 3.17.0 where dry-run was added) and that also included updating a bunch of dependent modules to latest versions as well. Hopefully that's ok.