Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for dry-run mode in bridge_service_perimeter module #168

Open
ptran32 opened this issue Oct 23, 2024 · 0 comments
Open

Add support for dry-run mode in bridge_service_perimeter module #168

ptran32 opened this issue Oct 23, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ptran32
Copy link

ptran32 commented Oct 23, 2024

TL;DR

Currently the module bridge_service_perimeter doesn't support dry run mode.

When creating it, it creates it under "enforced" mode in GCP UI
image

Terraform Resources

google_access_context_manager_service_perimeter

Link: https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/access_context_manager_service_perimeter

Detailed design

i think using the parameter "use_explicit_dry_run_spec" with a similar logic than regular_service_perimeter could work.

See: https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/blob/master/modules/regular_service_perimeter/main.tf#L214

The end goal would be to create a bridge perimeter in dry-run mode, and also have the ability to enforce it when a user wants to

Additional information

No response

@ptran32 ptran32 added the enhancement New feature or request label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant