aws-samples / aws-samples/aws-sam-java-rest

Not working out of the box

Open
#2 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
437
Forks
151
PR merge metrics
No merged PRs in 30d

Description

One has to use the following command:
aws cloudformation deploy --template-file /Users/nmas409/aws-sam-java-rest/aws-sam-java-rest/packaged.yaml --stack-name sam-orderHandler --capabilities CAPABILITY_IAM
Waiting for changeset to be created..

But getting this error.

Failed to create the changeset: Waiter ChangeSetCreateComplete failed: Waiter encountered a terminal failure state Status: FAILED. Reason: [/Resources/DeleteOrderFunction/Type/Environment/Variables/TABLE_NAME] 'null' values are not allowed in templates

This doesn't work at all:
sam deploy \
--template-file packaged.yaml \
--stack-name sam-orderHandler \
--capabilities CAPABILITY_IAM

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.