Cloudtrail for CreateCapacityProvider returns asg name instead of arn in [requestParameters][autoScalingGroupProvider][autoScalingGroupArn] when you create ecs cluster with default capcity provider

0

Hi, So I was working with the cloudtrail event CreateCapacityProvider, And when you manually create capacityprovider it return capacity provider arn perfectly in [requestParameters][autoScalingGroupProvider][autoScalingGroupArn] . But when you create new ecs cluster with default capcity provider of ec2, in json response you will get asg name . There is easy workaround , of just looking at responseElements instead of requestParameter, But thought of informing to the community so aws can fix this.

How to recreate this issue?

Create new ecs cluster with ec2 instance, and select to create new asg from ecs portal itself, And check cloudtrail for CreateCapacityProvider event

1 Answer
0

Hi, this forum is not monitored by AWS service teams and support. So, it would be very kind of you to open a Support case via the console of your account to give a chance to this issue to get fixed.

Url is https://support.console.aws.amazon.com/support/home?region=us-west-2#/case/create (adapt with your own region)

Also, thank you for the workaround!

profile pictureAWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions