We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
Error message for "AWS::Serverless::Application" resource with "Fn::FindInMap" is "TypeError: unhashable type: 'list'", which is not helpful.
Steps to reproduce the issue: Parts of the template
Parameters: SemVer: Type: String Default: 1.0.0 Mappings: MyMap: appId: appIdValue: arn:aws:serverlessrepo:us-east-1:1234xxx:applications/anotherApp version: versionValue: - Ref: Semver Resources: myApp: Type: AWS::Serverless::Application Properties: Location: ApplicationId: Fn::FindInMap: - MyMap - appId - appIdValue SemanticVersion: Fn::FindInMap: - MyMap - version - versionValue
Observed result: TypeError: unhashable type: 'list'
Expected result:
The text was updated successfully, but these errors were encountered:
I think it might be this part
version: versionValue - Ref: Semver
which should look like this:
version: versionValue: !Ref Semver
Sorry, something went wrong.
You might be able to get this to work by adding AWS::LanguageExtensions to Transform as such:
AWS::LanguageExtensions
Transform
Transform: - AWS::LanguageExtensions - AWS::Serverless-2016-10-31
AWS::LanguageExtensions resolves intrinsic functions if the value is known when Transforms are run.
See #2533 for more information.
Closing in favor of #2533.
No branches or pull requests
Description:
Error message for "AWS::Serverless::Application" resource with "Fn::FindInMap" is "TypeError: unhashable type: 'list'", which is not helpful.
Steps to reproduce the issue:
Parts of the template
Observed result:
TypeError: unhashable type: 'list'
Expected result:
The text was updated successfully, but these errors were encountered: