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

🐛 Redeploy After Nuke Update - Terraform init assume backend role #5761

Merged
merged 6 commits into from
Apr 19, 2024

Conversation

ASTRobinson
Copy link
Contributor

@ASTRobinson ASTRobinson commented Apr 18, 2024

PR to fix issue ministryofjustice/modernisation-platform#6702

This PR updates the nuke-redeploy.yml and terraform-init.sh to allow a second variable to be passed in to set the backend-config. Allowing the job to assume the backend role in the Modernisation Platform account, similar to #4254.

I have also updated the terraform-apply-after-nuke.sh script as this also calls the terraform-init script however I cannot see anywhere that terraform-apply-after-nuke.sh is being called.

@github-actions github-actions bot added environments-repository Used to exclude PRs from this repo in our Slack PR update github-workflow labels Apr 18, 2024
@ASTRobinson ASTRobinson changed the title Terraform init assume backend role 🐛 Redeploy After Nuke Update - Terraform init assume backend role Apr 19, 2024
@ASTRobinson ASTRobinson marked this pull request as ready for review April 19, 2024 07:44
@ASTRobinson ASTRobinson requested a review from a team as a code owner April 19, 2024 07:44
Copy link
Contributor

@davidkelliott davidkelliott left a comment

Choose a reason for hiding this comment

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

Discussed in stand up, good to go :)

@ASTRobinson ASTRobinson merged commit 6bda49a into main Apr 19, 2024
15 checks passed
@ASTRobinson ASTRobinson deleted the bug/nuke-workflow branch April 19, 2024 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
environments-repository Used to exclude PRs from this repo in our Slack PR update github-workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants