SAM Doctor

ERROR REFERENCE

Failed to create changeset (configuration, not infrastructure)

The deploy died before CloudFormation evaluated a single resource: credentials were missing, a parameter had no value, or change-set validation refused the request. The infrastructure is untouched — something about this invocation's configuration is incomplete.

WHAT IT MEANS

The common shapes

TRIAGE

How to triage it

  1. Check what credentials this environment resolves (read-only):
    aws configure list
    aws sts get-caller-identity
  2. Compare declared parameters against supplied ones — the template's Parameters: block versus parameter_overrides in samconfig.toml and any --parameter-overrides flags.
  3. Re-read the full reason line - this family is a wrapper, and the text after the colon usually names which specific page on this index actually applies.

AUTOMATE THE TRIAGE

Diagnose this automatically

SAM Doctor reports this family at medium confidence and deliberately steps aside whenever a sharper rule matches the same log - the quota, schema, artifact, and S3 rules all outrank it. Runs locally; no AWS access, no log upload.

python -m pip install sam-doctor
sam-doctor diagnose deployment.log --format markdown

RELATED