Tags ASG for not delete

PHOTO EMBED

Wed Jul 01 2020 11:56:07 GMT+0000 (Coordinated Universal Time)

Saved by @michahell12@gmail.com

aws autoscaling create-or-update-tags \
  --tags ResourceId=nodes.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Creator,Value=michael.levit@spot.io,PropagateAtLaunch=true \
  ResourceId=nodes.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Protected,Value=true,PropagateAtLaunch=true

  aws autoscaling create-or-update-tags \
  --tags ResourceId=master-us-west-2a-2.masters.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Creator,Value=michael.levit@spot.io,PropagateAtLaunch=true \
  ResourceId=master-us-west-2a-2.masters.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Protected,Value=true,PropagateAtLaunch=true

   aws autoscaling create-or-update-tags \
  --tags ResourceId=master-us-west-2a-1.masters.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Creator,Value=michael.levit@spot.io,PropagateAtLaunch=true \
  ResourceId=master-us-west-2a-1.masters.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Protected,Value=true,PropagateAtLaunch=true

   aws autoscaling create-or-update-tags \
  --tags ResourceId=master-us-west-2b-1.masters.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Creator,Value=michael.levit@spot.io,PropagateAtLaunch=true \
  ResourceId=master-us-west-2b-1.masters.michaeltestk8s.spotk8s.com,ResourceType=auto-scaling-group,Key=Protected,Value=true,PropagateAtLaunch=true
content_copyCOPY