Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template error: instance of Fn::GetAtt references undefined resource #1

Closed
EduBic opened this issue Dec 7, 2018 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@EduBic
Copy link

EduBic commented Dec 7, 2018

In the file template.yaml, the rows:
Value: !GetAtt {{ cookiecutter.project_name }}.Arn
Value: !GetAtt {{ cookiecutter.project_name }}Role.Arn

must be:
Value: !GetAtt {{ cookiecutter.project_name }}Function.Arn
Value: !GetAtt {{ cookiecutter.project_name }}FunctionRole.Arn

Because the resource name is:
{{ cookiecutter.project_name }}Function:

@sliedig
Copy link
Contributor

sliedig commented Apr 25, 2019

Thanks for catching this. Will be pushing an update shortly. Apologies for the late response.

@sliedig sliedig self-assigned this Apr 26, 2019
@sliedig sliedig added the bug Something isn't working label Apr 26, 2019
sliedig added a commit that referenced this issue Apr 26, 2019
@sliedig sliedig closed this as completed Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants