Fix terraform state persistence issue in all repos #6038
Labels
bug
Something isn't working
other-team-dependency
This ticket requires work from another team: include in DOR and DOD
Expected Behavior
When terraform apply is run within pipeline, the terraform state should be saved with no issue.
Actual Behavior
The terraform state persistence fails with the following error:
See this pipeline failure as an example.
Additional information and the fix that needs to be rolled out
See this issue for details #5859
It appears that the error may be a terraform bug and we see the same issue in v1.6.6:
hashicorp/terraform#34528
Additionally, the CloudTrail does not show any errors for the HTTP request that is being sent by terraform to AWS s3 (PutObject), which is a good indication that the problem lies on terraform (no issue in cloudtrail and the state gets saved, but the terraform still fails).
The state push fix (#6020 and #6022) for the state persistence failure is now rolled out to the scheduled baseline workflow with temporarily suppression of slack alerts for when the state push is successful.
Use the above state push fix (#6020 and #6022) to roll it out in all workflows in all repos (see the full list in the Definition of Done section).
Version
n/a
Modules
n/a
Account
all
Definition of done
Roll the fix out to the below repos/workflows:
The text was updated successfully, but these errors were encountered: