terraform-google-vpc-service-controls icon indicating copy to clipboard operation
terraform-google-vpc-service-controls copied to clipboard

Update int test to receive access context manager policy rather than create + destroy

Open bharathkkb opened this issue 2 years ago • 2 comments

TL;DR

We do a few clean ups between tests like https://github.com/terraform-google-modules/terraform-google-vpc-service-controls/blob/0d94f375b9e4aa98d830b02e53b34cc83c79075b/build/int.cloudbuild.yaml#L26that can result in the access context manager policy not existing. It would be better to skip testing the main root module as it is a single resource without any logic and instead receive a static policy as a var for testing other more complex submodules.

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

N/A

Terraform Version

N/A

Additional information

No response

bharathkkb avatar Jan 06 '23 04:01 bharathkkb

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Mar 07 '23 23:03 github-actions[bot]

Looks like this is also breaking the terraform-example-foundation test

apeabody avatar Jan 29 '24 21:01 apeabody