Views: 1225It seems that the UserData passed via Cloud Init doesn’t run the script like it would run from CLI or cron. my script it worked to export the value, which the UserData field of EC2 launch form likes. export name=value means that the variable name is available to any process you …
Continue reading “Ec2 UserData can’t deal with plain #Bash variables”