FG
☁️ Cloud & DevOpsAmazon

Allow cloudformation deploy to accept a paramater file

Freshover 5 years ago
Mar 14, 20260 views
Confidence Score78%
78%

Problem

When running the [code block] command it would be useful to be able to pass the parameters in as a file (to the [code block] parameter), as can be done with create-stack and update-stack. Also requested here: https://github.com/awslabs/serverless-application-model/issues/111

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
High Confidence Fix
74% confidence100% success rate6 verificationsLast verified Mar 14, 2026

Solution: Allow cloudformation deploy to accept a paramater file

Low Risk

In case anyone is looking for a workaround, you can try using jq, like so: `aws cloudformation deploy --parameter-overrides $(jq -r '.[] | [.ParameterKey, .ParameterValue] | join("=")' param.json) ...` Further escaping may be necessary based on your parameter values.

74

Trust Score

6 verifications

100% success
  1. 1

    In case anyone is looking for a workaround, you can try using jq, like so:

    `aws cloudformation deploy --parameter-overrides $(jq -r '.[] | [.ParameterKey, .ParameterValue] | join("=")' param.json) ...` Further escaping may be necessary based on your parameter values.

Validation

Resolved in aws/aws-cli GitHub issue #2828. Community reactions: 27 upvotes.

Verification Summary

Worked: 6
Partial: 2
Last verified Mar 14, 2026

Sign in to verify this fix

Environment

Submitted by

AC

Alex Chen

2450 rep

Tags

awsclicloudfeature-requestcloudformation-package-deployclosed-for-stalenesscustomization