-
Notifications
You must be signed in to change notification settings - Fork 291
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
Temporarily resolve SNS topic error for new account bootstrapping #8769
Conversation
|
|
A reference to the issue / Description of it
https://github.com/ministryofjustice/modernisation-platform/actions/runs/12319236885/job/34387352123#step:7:302
How does this PR fix the problem?
Places a
depends_on
similarly to an existing example in the same code.I'm not 100% convinced that this is the right approach - if anything this feels like a tactical fix that we should look at again in a strategic manner. Relying on a data call to retrieve an SNS topic created elsewhere doesn't feel right to me, but we might want to raise an issue / discuss with our TA a more strategic approach.
How has this been tested?
Ran local plan. Tested through CI.
A more thorough test might involve a
terraform apply --destroy
in say, thesprinkler-development
workspace, then a localterraform apply
.Deployment Plan / Instructions
Deploy through CI. Observe new accounts creating successfully without the need to be retriggered.
Checklist (check
x
in[ ]
of list items)Additional comments (if any)
{Please write here}