Closed ruzickap closed 5 days ago
Hello.
I would like to use rain to deploy cloudformation template here, but I'm getting the error creating changeset error.
error creating changeset
The same CF file can be deployed using aws cloudformation deploy without any issues...
aws cloudformation deploy
Example:
export AWS_REGION=eu-central-1 $ wget https://raw.githubusercontent.com/aws-samples/amazon-ec2-nice-dcv-samples/ce2c1345349d979fe9156b009f00e24f22201230/cfn/KaliLinux-NICE-DCV.yaml $ rain deploy --yes KaliLinux-NICE-DCV.yaml KaliLinux-NICE-DCV --params ec2KeyPair=wordpress-test,vpcID=vpc-026739ec964c7e79e,subnetID=subnet-096568d329a921083,allowWebServerPorts=HTTP-and-HTTPS error creating changeset: Parameter 'assignStaticIP' must be one of AllowedValues
Same CF template can be successfully deployed using aws cloudformation deploy:
$ aws cloudformation deploy --capabilities CAPABILITY_IAM --parameter-overrides ec2KeyPair=wordpress-test vpcID=vpc-026739ec964c7e79e subnetID=subnet-096568d329a921083 allowWebServerPorts=HTTP-and-HTTPS --stack-name KaliLinux-NICE-DCV --template-file KaliLinux-NICE-DCV.yaml --s3-bucket my-bucket Waiting for changeset to be created.. Waiting for stack create/update to complete Successfully created/updated stack - KaliLinux-NICE-DCV
Few more details: https://github.com/aws-samples/amazon-ec2-nice-dcv-samples/issues/7
Can anybody tell my where are the differences between rain and aws cloudformation deploy and what should be changed?
rain
(My expectation is - the rain can deploy whatever is deployed by AWS CLI)
Thank you...
I need to use the --node-style original parameter to make the above working...
--node-style original
Hello.
I would like to use rain to deploy cloudformation template here, but I'm getting the
error creating changeset
error.The same CF file can be deployed using
aws cloudformation deploy
without any issues...Example:
Same CF template can be successfully deployed using
aws cloudformation deploy
:Few more details: https://github.com/aws-samples/amazon-ec2-nice-dcv-samples/issues/7
Can anybody tell my where are the differences between
rain
andaws cloudformation deploy
and what should be changed?(My expectation is - the rain can deploy whatever is deployed by AWS CLI)
Thank you...