Serverless Application Conditional Creation #1079
Labels
area/build
sam build command
area/intrinsics
Ref, If, Sub, GetAtt, ...
maintainer/need-followup
type/feature
Feature request
Description:
It seems that Conditional attribute is not being respected for
AWS::Serverless::Application
Steps to reproduce the issue:
AWS::Serverless::Application
pointing to non-public application in us-east-2Observed result:
I get the following error:
samcli.commands.validate.lib.exceptions.InvalidSamDocumentException: [InvalidResourceException('<APPLICATION NAME>', 'Application with id arn:aws:serverlessrepo:us-east-2:<ACCOUNT>:applications/<APPLICATION NAME> could not be found.')] ('<APPLICATION NAME>', 'Application with id arn:aws:serverlessrepo:us-east-2:<ACCOUNT>:applications/<APPLICATION NAME> could not be found.')
Expected result:
The expected result would be for the application to be ignored and not built
The text was updated successfully, but these errors were encountered: