terraform deploy the definition of the aws ec2 instance, is it possible to define an existing role for the instance?
output
Error: creating IAM Instance Profile (Custom-EC2-Role): operation error IAM: CreateInstanceProfile, https response error StatusCode: 409, RequestID: xxxxxx-xxxx-xxxx-xxx-xxxxxxxx, EntityAlreadyExists: Instance Profile xxx-xxx-xxx already exists.
expected
create aws ec2 instance with arn aws iam role defined
deploy aws ec2 using terraform
4