1 Answer
- Newest
- Most votes
- Most comments
0
Without seeing the whole template I can't be sure. But it looks like you are using Fn::GetAtt to reference LambdaExecutionRole which is an "Output" and not a "Resource" and that's not supported. If you search for {"Fn::GetAtt": ["LambdaExecutionRole"
within your template, you should find the section in the Resource block that is causing your error.
Output is intended to be used by "things outside" the stack, not from within the template itself.
I hope this helped!
answered a year ago
Relevant content
- asked 7 years ago
- Accepted Answerasked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
The template is fragmented, and I’m unsure what caused the error. Therefore, could you please include the entire template in the question text.