1 Answer
- Newest
- Most votes
- Most comments
0
I identified the root cause of the issue and it was not the problem of CloudFormation.
It seems it is bug at aws cloudformation package
command during the build pipeline.
Parameters:
Value7:
Type: String
Default: "077777777777"
Value8:
Type: String
Default: "088888888888"
Value9:
Type: String
Default: "099999999999"
Resources:
NestedStack:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: ./template_child.yml
$ aws --version
aws-cli/1.16.110 Python/3.7.2 Darwin/18.2.0 botocore/1.12.100
$ aws cloudformation package --s3-bucket BUCKET_NAME --template-file template.yml
Uploading to 137ce8b72427772da39a43ddc087908a.template 101 / 101.0 (100.00%)
Parameters:
Value7:
Type: String
Default: '077777777777'
Value8:
Type: String
Default: 088888888888
Value9:
Type: String
Default: 099999999999
Resources:
NestedStack:
Type: AWS::CloudFormation::Stack
Properties:
TemplateURL: https://s3.amazonaws.com/BUCKET_NAME/137ce8b72427772da39a43ddc087908a.template
Quotes are removed after aws cloudformation package
and treated as number value.
I'll report this issue to aws-cli Github repository and mark this issue as "Answered".
answered 5 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago