Skip to content

Conversation

@mrodm
Copy link
Contributor

@mrodm mrodm commented May 21, 2024

Enable in cloud cleanup pipeline the action to delete Redshift Clusters when DRY_RUN is set to false.

Currently, keep DRY_RUN=true by default when it is triggered the pipeline automatically, since it has not been tested for the other resources.

@mrodm mrodm self-assigned this May 21, 2024
Comment on lines 189 to 193
if ! aws redshift delete-cluster \
--cluster-identifier "${identifier}" \
--skip-final-cluster-snapshot \
--output json \
--query "Clusters[*].{ClusterStatus:ClusterStatus,ClusterIdentifier:ClusterIdentifier}" ; then
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just show those values from the response.

@mrodm mrodm marked this pull request as ready for review May 22, 2024 11:40
@mrodm mrodm requested a review from a team May 22, 2024 11:40
IMAGE_UBUNTU_X86_64: "family/core-ubuntu-2204"

steps:
- label: ":go: Run check-static"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would restore this file before merging, in case it is needed to do more tests.

access_level: MANAGE_BUILD_AND_READ
everyone:
access_level: BUILD_AND_READ
access_level: READ_ONLY
Copy link
Member

Choose a reason for hiding this comment

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

👍

@mrodm
Copy link
Contributor Author

mrodm commented May 22, 2024

/test

1 similar comment
@mrodm
Copy link
Contributor Author

mrodm commented May 22, 2024

/test

@mrodm mrodm enabled auto-merge (squash) May 22, 2024 16:45
@mrodm mrodm merged commit e27cfc0 into elastic:main May 22, 2024
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @mrodm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants