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

Roll back Slack failure notification logic for persisting errored TF state #6498

Closed
4 tasks done
richgreen-moj opened this issue Mar 15, 2024 · 0 comments
Closed
4 tasks done
Assignees
Labels
bug Something isn't working terraform Pull requests that update Terraform code

Comments

@richgreen-moj
Copy link
Contributor

richgreen-moj commented Mar 15, 2024

User Story

As a MP Engineer
I need to roll back the changes made to failure notification logic
So that I am made aware if there are still any errors persisting state to s3

Value / Purpose

We recently made changes to the Slack failure notification logic 918897a so that we could fix an issue where TF state was not persisting to the backend.

Now that this issue is fixed in TF v1.7.5 we should remove this logic...
if: ${{ failure() && !env.STATE_PUSH_SUCCESSFUL }}
so that we know if there are still any failures relating to persisting state to s3.

Useful Contacts

@richgreen-moj @ewastempel

Additional Information

No response

Proposal / Unknowns

Hypothesis If we... [do a thing] Then... [this will happ]

Proposal A proposal that is something testable, don't worry whether it works or not, it's a place for ideas.

Unknowns Potential pitfalls that could cause the story to expand beyond its original scope. Ideally this section will remain blank.

Definition of Done

  • Review the logic and make changes as required
  • Make sure pipelines are using TF v1.7.5 onwards
  • Test changes
  • Another team member has reviewed
@richgreen-moj richgreen-moj changed the title Slack failure notification doesn't trigger for failed TF plans Slack failure notification doesn't trigger for failed Scheduled Baseline TF runs Mar 15, 2024
@richgreen-moj richgreen-moj added terraform Pull requests that update Terraform code bug Something isn't working labels Mar 15, 2024
@richgreen-moj richgreen-moj changed the title Slack failure notification doesn't trigger for failed Scheduled Baseline TF runs Roll back Slack failure notification logic for persisting errored TF state Mar 18, 2024
@dms1981 dms1981 self-assigned this Apr 2, 2024
@dms1981 dms1981 closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working terraform Pull requests that update Terraform code
Projects
Status: Done
Development

No branches or pull requests

3 participants