I want to pass input parameter to cloudformation properties from text file or save the text file in s3 bucket and point the s3 URL in CF properties.
Please let me know if this is possible? If yes, how to do?
I want to pass input parameter to cloudformation properties from text file or save the text file in s3 bucket and point the s3 URL in CF properties.
Please let me know if this is possible? If yes, how to do?
There isn't a way if you're using the AWS management console to create the CloudFormation stack, but you can if you use the AWS CLI. Save the parameters into a text file (e.g.
parameters.txt
) in one of the following formats:Shorthand:
JSON:
Then use the AWS CLI command cloudformation create-stack, e.g.:
Unfortunately it doesn't seem
--parameters
can reference an S3 bucket directly, only a local file or inline parameters.