-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: add retry step to terragrunt apply #444
Conversation
Signed-off-by: samuelarogbonlo <[email protected]>
Forest: forest-calibnet Infrastructure Plan: successShow Plan
|
Forest: forest-mainnet Infrastructure Plan: successShow Plan
|
Forest: forest-butterflynet Infrastructure Plan: successShow Plan
|
Signed-off-by: samuelarogbonlo <[email protected]>
@@ -155,7 +161,22 @@ runs: | |||
else | |||
echo "Changes detected. Redeploying everything..." | |||
terragrunt destroy -auto-approve --terragrunt-non-interactive |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is the issue that should be addressed. We should use lifecycle.create_before_destroy
and not force-destroy the resource - it should get destroyed after the new one is created successfully, leaving it untouched in case of errors. What do you think? We can do it in a separate issue/PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah makes sense. i will implement in this PR
Signed-off-by: samuelarogbonlo <[email protected]>
Signed-off-by: samuelarogbonlo <[email protected]>
@samuelarogbonlo The |
@LesnyRumcajs, |
Given we only have sync check now, it doesn't seem required. |
Summary of changes
Changes introduced in this pull request:
Reference issue to close (if applicable)
Partof #424
Other information and links