Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Not working out of the box

Open
#2 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, java
Domain
cloud, devops

Research direction

Start by inspecting packaged.yaml, especially the DeleteOrderFunction Environment Variables TABLE_NAME entry, then compare the documented aws cloudformation deploy and sam deploy commands. Reproduce the deployment failure and verify that the sample deploys successfully without a null TABLE_NAME value.

Written by the indexing model from the issue text.

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

Dominant language
Java
Stars
437
Forks
151
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws-samples/aws-sam-java-rest

All issues in aws-samples/aws-sam-java-rest

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.