-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
None
-
False
-
-
True
-
-
Ensure that all CLI commands have backslashes at line breaks so that they are copied correctly.
Example: Step 1.v. in AWS config map:
$ for AWS_SG_ID in "${AWS_SG_IDS[@]}"; do aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 15150 --source-group $AWS_SG_ID --region $AWS_REGION aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 9000 --source-group $AWS_SG_ID --region $AWS_REGION done
Copied code:
for AWS_SG_ID in "${AWS_SG_IDS[@]}"; do
Fixed block:
$ for AWS_SG_ID in "${AWS_SG_IDS[@]}"; do \ aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 15150 --source-group $AWS_SG_ID --region $AWS_REGION \ aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 9000 --source-group $AWS_SG_ID --region $AWS_REGION \ done
Check for unintended line breaks in commands.
Check JSON queries.
If commands are too long and require excessive horizontal scrolling, add line breaks and backslashes for readability.