Closed hrider closed 3 months ago
Hi @hrider, thanks for reaching out. I was able to reproduce this issue. I've reached out to the DMS team about this behavior. In the meantime, I'd recommend not using DMS subnet groups that contain an underscore. The error message along with the fact that the console doesn't allow for creation of subnet groups with an underscore leads me to believe that DescribeReplicationSubnetGroups
has the correct behavior here, and that CreateReplicationSubnetGroup
is wrong. I'm also going to move this issue to our cross-SDK repository, as this is a service team issue. Thanks!
Ticket # for internal reference : P107188401
The service team is aware of this behavior, and has a backlog item to fix it. At this time, I can't provide any specific timeline, but I will put any updates in this issue.
Closing this issue as the service team is aware of the behavior and has a backlog item to fix it. Please refer to AWS Blog, or an SDK changelog for more updates.
This issue is now closed.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
"aws dms describe-replication-subnet-groups" doesn't allow to describe subnet group with name having underscores.
Expected Behavior
Both creation and describe api's must have same naming standards.
Current Behavior
"aws dms create-replication-subnet-group" allows to create a subnet group with name having underscores.
"aws dms describe-replication-subnet-groups" doesn't allow to describe subnet group with name having underscores.
Reproduction Steps
aws dms create-replication-subnet-group \ --replication-subnet-group-identifier my_subnet_group \ --replication-subnet-group-description "my subnet group" \ --subnet-ids subnet-xxxx subnet-yyyy
{ "ReplicationSubnetGroup": { "ReplicationSubnetGroupIdentifier": "my_subnet_group", "ReplicationSubnetGroupDescription": "my subnet group", "VpcId": "vpc-aaaa", "SubnetGroupStatus": "Complete", "Subnets": [ { "SubnetIdentifier": "subnet-xxxx", "SubnetAvailabilityZone": { "Name": "us-east-1e" }, "SubnetStatus": "Active" }, { "SubnetIdentifier": "subnet-yyyy", "SubnetAvailabilityZone": { "Name": "us-east-1b" }, "SubnetStatus": "Active" } ], "SupportedNetworkTypes": [ "IPV4" ] } }
aws dms describe-replication-subnet-groups \ --filter "Name=replication-subnet-group-id,Values=my_subnet_group"
An error occurred (InvalidParameterValueException) when calling the DescribeReplicationSubnetGroups operation: The parameter Filter: replication-subnet-group-id is not a valid identifier. Identifiers must begin with a letter; must contain only ASCII letters, digits, and hyphens; and must not end with a hyphen or contain two consecutive hyphens.
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.13.9
Environment details (OS name and version, etc.)
mac ventura 13.6