When creating an EC2 based ECS cluster in the AWS console you can specify the container instance role:
However, after the cluster has been created, I don't see any way to view which role was attached to the cluster.
In addition, I don't see any way to specify the container instance role when creating a cluster using the cli or in Cloudformation (or, by extension, the CDK).
My question is two-fold:
- Can this property be specified in the API/Cloudformation
- Is there any way to view this property on an existing cluster either in the console or using the API/CLI