aws-auto-scaling

how to tag an existing AWS autoscaling group with boto3

how to tag an existing AWS autoscaling group with boto3 Question: I’m trying to tag an existing autoscaling group, using Python and Boto3. I can definitely describe the ASGs by name: import boto3 asg_client = boto3.client("autoscaling") asg_name = "foo-bar20220502044025104700000001" response = asg_client.describe_auto_scaling_groups(AutoScalingGroupNames=[asg_name]) The problem I have with the create_or_update_tags() and delete_tags() methods is that they …

Total answers: 1