Add ARN attribute for aws_instance #5425
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
good first issue
Call to action for new contributors looking for a place to start. Smaller or straightforward issues.
service/ec2
Issues and PRs that pertain to the ec2 service.
Milestone
Community Note
Description
I'd love to be able to directly access the ARN of an EC2 instance, for example for interpolation into an IAM policy.
New or Affected Resource(s)
aws_instance
aws_instance
(data resource)Of note, the ARN is already exported for the
db_instance
resource and data resource.Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: