cfn-lint: E0001 Error for SAR Apps
cfn-lint version: cfn-lint 0.15.0
Description of issue
While running cfn-lint
on a nested CloudFormation stack containing AWS::Serverless::Application
resources, it errors with:
Resources:
AppName:
Type: AWS::Serverless::Application
Properties:
Location:
ApplicationId: arn:aws:serverlessrepo:us-west-2:<my-account-id>:applications/<app-name>
SemanticVersion: 1.0.0
Parameters:
Debug: 'True'
MemorySizeMB: 128
TimeoutSec: 300
$ cfn-lint template.yml
E0001 Resource with id [AppName] is invalid. Application with id arn:aws:serverlessrepo:us-west-2:<my-account-Id-hosting-the-app>:applications/<app-name> could not be found.
template.yml:1:1
Supporting evidence:
- The Application definitely exists, since the template runs with no issues.
- I have admin permissions with the current user to make, update, view, delete the app.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (11 by maintainers)
Oddly enough, I’m having another issue with a different SAM template running in CI (no nested stacks or anything, just some AWS::Serverless resources):
Really not sure where to start with this one. It’s on the latest version of
cfn-lint
too… Any ideas @cmmeyer ?Found a way to translate this. Release v0.17.0 is being built now and will have this fix.