aws / aws/aws-sam-cli

Feature request: Is there a way to get actual validation?

Open
#4,578 1 comment 0 reactions 0 assignees View on GitHub
type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

Running sam validate and/or cfn-lint both throw no errors.

But deploying throws an error about something simple like,'SecondsUntilPause must be between 300
and 86400 seconds'.

Is there not a way to check things like this before deployment and then having to go an manually delete the entire stack because it enters ROLLBACK_COMPLETE and becomes essentially useless?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the example with `sam validate` and `cfn-lint`, then compare their results with the deployment error for `SecondsUntilPause`. Done means validation reports this invalid range before deployment and prevents the stack from entering ROLLBACK_COMPLETE; no source files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.