diff --git a/cleanup_amis.sh b/cleanup_amis.sh index 29ec47b..f501c86 100755 --- a/cleanup_amis.sh +++ b/cleanup_amis.sh @@ -1,10 +1,11 @@ #!/bin/bash -#set -x +set -x echo "Are you really sure as AMIs might be used by customers !!" read -TAG_FILTER="Name=tag:project,Values=zdt-alpine" +#TAG_FILTER="Name=tag:project,Values=zdt-alpine" +TAG_FILTER="Name=tag:Name,Values=zdt-alpine-3.15.4-x86_64-kubezero-1.22.8-r3" #for r in $(aws ec2 describe-regions --query "Regions[].{Name:RegionName}" --output text); do for r in ap-southeast-2 ca-central-1 eu-central-1 us-east-1 us-west-1 us-west-2; do diff --git a/overlay/zdt/configs/access.conf.age b/overlay/zdt/configs/access.conf.age new file mode 100644 index 0000000..2598b05 Binary files /dev/null and b/overlay/zdt/configs/access.conf.age differ diff --git a/overlay/zdt/configs/zdt.conf b/overlay/zdt/configs/zdt.conf index e22f1b7..7dfa2ce 100644 --- a/overlay/zdt/configs/zdt.conf +++ b/overlay/zdt/configs/zdt.conf @@ -58,7 +58,7 @@ Dimensions { aws.regions { ALL = false ap-southeast-2 = true - ca-central-1 = true + #ca-central-1 = true eu-central-1 = true us-east-1 = true us-west-1 = true