-
Notifications
You must be signed in to change notification settings - Fork 27
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
added script to apply security group bindings for vpc peers #3360
Merged
jackjoy-gds
merged 1 commit into
main
from
185442282_bind-security-groups-for-vpc-peers
Sep 11, 2023
Merged
added script to apply security group bindings for vpc peers #3360
jackjoy-gds
merged 1 commit into
main
from
185442282_bind-security-groups-for-vpc-peers
Sep 11, 2023
Conversation
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
jackjoy-gds
force-pushed
the
185442282_bind-security-groups-for-vpc-peers
branch
8 times, most recently
from
August 25, 2023 12:31
4447052
to
5ca736f
Compare
jackjoy-gds
force-pushed
the
185442282_bind-security-groups-for-vpc-peers
branch
11 times, most recently
from
August 31, 2023 08:30
bd2ee4d
to
8392d75
Compare
corlettb
reviewed
Sep 7, 2023
concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb
Outdated
Show resolved
Hide resolved
concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb
Show resolved
Hide resolved
jackjoy-gds
force-pushed
the
185442282_bind-security-groups-for-vpc-peers
branch
from
September 8, 2023 08:58
8392d75
to
1910d6f
Compare
corlettb
reviewed
Sep 8, 2023
concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb
Show resolved
Hide resolved
corlettb
reviewed
Sep 8, 2023
concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb
Outdated
Show resolved
Hide resolved
corlettb
reviewed
Sep 8, 2023
concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb
Outdated
Show resolved
Hide resolved
jackjoy-gds
force-pushed
the
185442282_bind-security-groups-for-vpc-peers
branch
2 times, most recently
from
September 8, 2023 14:04
cf37502
to
031deff
Compare
corlettb
reviewed
Sep 8, 2023
concourse/scripts/apply_security_group_bindings_from_vpc_peering_json.rb
Outdated
Show resolved
Hide resolved
jackjoy-gds
force-pushed
the
185442282_bind-security-groups-for-vpc-peers
branch
from
September 11, 2023 08:56
031deff
to
f00b108
Compare
corlettb
approved these changes
Sep 11, 2023
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.
Looks good. Tested in dev05
jackjoy-gds
deleted the
185442282_bind-security-groups-for-vpc-peers
branch
September 11, 2023 09:25
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Added a ruby script to apply security group bindings for vpc peers in the pipeline, as configured by extending the config of the existing env specific terraform vpc_peering json files.
I have left an example file in the repo for reference:
terraform/env.vpc_peering.json.example
How to review
Look at the code
Create a copy of this branch
Manually create VPC(s)
Create an env specific vpc_peering.json file using the format from the example and push to your branch
Configure the chosen dev env pipeline with your branch
Run the pipeline
Ensure that the correct security-group bindings are applied
🚨⚠️ Please do not merge this pull request via the GitHub UI ⚠️ 🚨