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

Refactoring SSM parameters #325

Merged
merged 7 commits into from
Oct 30, 2024
Merged

Refactoring SSM parameters #325

merged 7 commits into from
Oct 30, 2024

Conversation

laurentb4
Copy link
Contributor

@laurentb4 laurentb4 commented Oct 21, 2024

Refactored the way SSM parameters are pulled into the workspace.

Removed the get-ssm-parameter.sh script and replaced it with terraform data source which are used in a locals block.
Archived the old scripts.
Removed TF_VARS from buildspec.yml

It should still work the same as before - i.e.

 make gen-env
 make init
 make plan 
 

Pull branch locally and test before approving please. When testing - run a plan on main and take note of the number of changes. When you run the plan on this branch the numbers should be the same - if not let me know.

@laurentb4 laurentb4 requested a review from a team as a code owner October 21, 2024 16:10
@laurentb4 laurentb4 requested review from AafAnsari, kyphutruong and mitchdawson1982 and removed request for a team October 21, 2024 16:10
Copy link
Contributor

@jamesgreen-moj jamesgreen-moj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - Ran a plan on pre-production sensitive values are shown as unchanged.

variables.tf Outdated
#TODO check the correct value for this email
variable "owner_email" {
type = string
default = "nac@digital.justice.gov.uk"
default = "[email protected]"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This email does not exist
image

@laurentb4 laurentb4 merged commit d2f9f78 into main Oct 30, 2024
5 checks passed
@laurentb4 laurentb4 deleted the ND-557-ssm-parameters branch October 30, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants