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

worker: check cloudformation stack status #498

Merged
merged 1 commit into from
May 2, 2022

Conversation

AlexanderYastrebov
Copy link
Member

Stack update may fail due to external changes, e.g. due to removal of
a referenced security group.

This change reports certain stack statuses as problems which prevents
last_sync_timestamp_seconds metric update that could be
used to monitor stack update failures.

Signed-off-by: Alexander Yastrebov alexander.yastrebov@zalando.de

aws/cf.go Outdated Show resolved Hide resolved
@AlexanderYastrebov AlexanderYastrebov force-pushed the check-stack-errors branch 2 times, most recently from 257d218 to a145d3f Compare April 27, 2022 11:57
Stack update may fail due to external changes, e.g. due to removal of
a referenced security group.

This change reports certain stack statuses as problems which prevents
`last_sync_timestamp_seconds` metric update that could be
used to monitor stack update failures.

Signed-off-by: Alexander Yastrebov <alexander.yastrebov@zalando.de>
return nil
}

switch s.status {
Copy link
Member Author

Choose a reason for hiding this comment

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

@AlexanderYastrebov AlexanderYastrebov marked this pull request as ready for review April 27, 2022 15:22
@szuecs
Copy link
Member

szuecs commented May 2, 2022

👍

1 similar comment
@mikkeloscar
Copy link
Collaborator

👍

@AlexanderYastrebov AlexanderYastrebov merged commit 94b5851 into master May 2, 2022
@AlexanderYastrebov AlexanderYastrebov deleted the check-stack-errors branch May 2, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants