Skip to content

SecurityGroupIdList missing double quotes #206

@raunak79

Description

@raunak79

Describe the bug
SecurityGroupIdList is missing the double quotes

To Reproduce
Steps to reproduce the behavior:

  1. Run command '...'
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions