1

I want to create a role with specified name in CloudFormation in AWS, but I don't know how to do it.

Generally, the resources are created in CloudFormation with a name which has added a hash code at the end.

John Rotenstein
  • 871
  • 7
  • 16
Angle Tom
  • 111
  • 1

1 Answers1

0

It is not possible to nominate a specific name for resources created in CloudFormation.

Names include the 'hash code' to guarantee uniqueness in case a resource already exists or the CloudFormation template is deployed multiple times.

It is possible to specify Tags, which can populate fields like Name, that is not the case for a Role.

John Rotenstein
  • 871
  • 7
  • 16