We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c92aee commit 77d3d0fCopy full SHA for 77d3d0f
app/util/k8s/terminate_cluster.py
@@ -983,7 +983,7 @@ def delete_expired_tf_state_s3_buckets():
983
created_date = bucket["CreationDate"]
984
try:
985
tags = s3_client.get_bucket_tagging(Bucket=bucket["Name"])["TagSet"]
986
- except (s3_client.exceptions.NoSuchTagSet, botocore.exceptions.ClientError):
+ except botocore.exceptions.ClientError:
987
raise RuntimeError(f"S3 bucket {bucket['Name']} does not have any tags.")
988
persist_days = next((tag["Value"] for tag in tags if tag["Key"] == "persist_days"), None)
989
if persist_days:
0 commit comments