-
Notifications
You must be signed in to change notification settings - Fork 700
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
fix(VPCSC): enable dryrun mode #1210
Merged
apeabody
merged 37 commits into
terraform-google-modules:master
from
eeaton:fix-1209-vpcsc-dryrun
Jul 4, 2024
Merged
Changes from 2 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
af5cef1
Enable dry run mode on the VPCSC perimeter to fix issue 1209
eeaton d24cc4a
Merge branch 'master' into fix-1209-vpcsc-dryrun
eeaton 4746b9c
Update 3-networks-dual-svpc/modules/restricted_shared_vpc/service_con…
eeaton 671e049
all the changes in 3-networks-dual-svpc to add *_dry_run variables an…
eeaton dc9a217
make changes to 4-projects so that projects for restricted vpc are au…
eeaton a81fdff
regenerate variables for readme docs. `make docker_generate_docs`
eeaton 4555f73
Transfer dry-run related changes from 3-networks-dual-svpc to 3-netwo…
eeaton f6d87af
Merge branch 'master' into fix-1209-vpcsc-dryrun
eeaton 046effe
add variable definitions to stage 4 modules
eeaton 4bf1e1e
Merge branch 'fix-1209-vpcsc-dryrun' of https://github.com/eeaton/ter…
eeaton 3de7bec
addressed remaining LINT issues for variable definitions across modules
eeaton 1daa305
add dry_run parameters to net-hub
eeaton a20a6d9
fix logic to define restricted_services_dry_run
eeaton 6811e81
Add dryrun spec to hubspoke perimeter bridges
eeaton fc6693f
fix variable to manage explicit_dry_run_spec
eeaton 03ec2e6
add directions to readme for using enforce_vpcsc
eeaton facb284
fix failing tests caused by inconsistent variable name
eeaton 3b0b22e
Merge branch 'terraform-google-modules:master' into fix-1209-vpcsc-dr…
eeaton 3efcabd
update network_tests.go to check details of the dryrun service perimeter
eeaton 8504fb4
update logic in hub-and-spoke perimeter bridge to avoid error when pr…
eeaton a1603aa
Apply suggestions from code review
eeaton cbe8d0d
Update 3-networks-hub-and-spoke/modules/restricted_shared_vpc/variabl…
eeaton 08933f7
fixed gcloud syntax for describing dry-run perimeter in tests
eeaton a8d84a4
Merge branch 'fix-1209-vpcsc-dryrun' of https://github.com/eeaton/ter…
eeaton 40f50df
Update test/integration/networks/networks_test.go
eeaton e0609e8
adjust syntax of networks_test.go
eeaton fbb649a
rewrite logic for network_tests with non-json format
eeaton 600ce9e
update list of supported services to all GA support services. Result…
eeaton d657363
Revert "update list of supported services to all GA support services.…
eeaton 4d6ff8e
remove unused variable operationService
eeaton d4aca63
Merge branch 'master' into fix-1209-vpcsc-dryrun
eeaton f514337
fix unrelated error in CI tests, CI tests suddenly return different v…
eeaton 52d7b5e
`terraform` fmt to pass lint tests
eeaton 84ef72a
Apply suggestions from code review
eeaton 8af849a
update logic in projects_test.go to check against dry run perimeter, …
eeaton 545808e
Update test/integration/projects/projects_test.go
eeaton 0974b31
Merge branch 'master' into fix-1209-vpcsc-dryrun
apeabody File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the way the projects are added to the perimeter in step 4-projects also needs to be updated.
https://github.com/terraform-google-modules/terraform-example-foundation/blob/master/4-projects/modules/single_project/main.tf#L62C1-L64C78
This cloud be a new flag like how it is coded in the project factory module
https://github.com/terraform-google-modules/terraform-google-project-factory/blob/master/modules/core_project_factory/main.tf#L347C1-L365C2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey Eliot, just wondering if this change could be done with a flag instead of comment/uncomment the code, export in outputs to be read by other steps, like 4-projects as Daniel mentioned. It would also be less tricky for others blueprints that have documentation of how to deploy on top of foundation.