I created a CloudFormation stack using the ECS wizard. I want to customize some UserData entries to modify some parameters. However, as you can see in the picture, the parameters that must appear in multiple lines are shown in one line. Checking the current parameter, it is applied to multiple lines. After modifying this in the web UI, the UserData parameter is changed to one line, so the script does not work. Is there a way to update the values normally?
Unfortunately, the CloudFormation console does not currently support inputting multiline parameters
There are a couple workarounds:
--parameters ParameterKey=<>,ParameterValue='line 1
line 2'
Fn::Base64:
function from UserData
in the template and passing the already Base64 encoded string as the parameter should remove the need for that parameter being multiline--parameters ParameterKey=<>,UsePreviousValue=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With