-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Describe the bug
SecurityGroupIdList is missing the double quotes
To Reproduce
Steps to reproduce the behavior:
- Run command '...'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
"SecurityGroupIdList":['${params[SG]}'],
should be
"SecurityGroupIdList":["'${params[SG]}'"],
Screenshots
If applicable, add screenshots to help explain your problem.
Here is the below error when I executed the command:-
cd bin
./cqlreplicator --state init --security-groups "$GLUE_CONNECTION_SECURITY_GROUPS"
--subnet $GLUE_CONNECTION_SUBNET --availability-zone $GLUE_CONNECTION_AVAILABILITY_ZONE
--region $AWS_REGION --glue-iam-role $GLUE_SERVICE_ROLE --landing-zone s3://$S3_BUCKET
Creating Glue artifacts : [||||||||||||||||||||||||----------------] 60.00%
Error parsing parameter '--connection-input': Invalid JSON: Expecting value: line 10 column 35 (char 385)
JSON received: {
"Name":"cql-replicator-99806eab-999b-46e9-95f2-b152a8f59c7d",
"Description":"CQLReplicator connection to the C* cluster",
"ConnectionType":"NETWORK",
"ConnectionProperties":{
"JDBC_ENFORCE_SSL": "false"
},
"PhysicalConnectionRequirements":{
"SubnetId":"subnet-9370c0de",
"SecurityGroupIdList":[sg-70986a5d],
"AvailabilityZone":"us-east-1a"}
}
Additional context
Add any other context about the problem here.