aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap
"Template error: resource EC2Instance does not support attribute type Id in Fn::GetAtt"
- Dominant language
- No language data
- Stars
- 1.1k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
### Name of the resource
AWS::EC2::Instance
### Resource Name
_No response_
### Issue Description
CloudFormation documentation lists the attribute Id as one of the attributes available in Fn::GetAtt (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-instance.html#aws-resource-ec2-instance-return-values). However, I get the error "Template error: resource EC2Instance does not support attribute type Id in Fn::GetAtt" when attempting to use it.
### Expected Behavior
The attribute Id should be available to use in Fn::GetAtt.
### Observed Behavior
The attribute Id is not available to use in Fn::GetAtt.
### Test Cases
Tested in the regions us-west-1, us-west-2, us-east-1, and us-east-2.
### Other Details
_No response_
Contributor guide
Research direction
Review the linked AWS CloudFormation documentation and compare it with the reported Fn::GetAtt behavior in us-west-1, us-west-2, us-east-1, and us-east-2. No repository file or test is named; done requires an AWS-side clarification or correction of the documented Id attribute behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100