-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing shared RDS Clusters raises an ArgumentError #2945
Comments
Looking at the code in resources.rb:
It looks like its trying to use the db_cluster_identifier for the id. However, looking at the response shown from the CLI - its possible this field is not always returned anymore and the service needs to update their resources definition (we do not author that file, and the resources.rb is auto generated from it). |
I'd recommend not using the
|
How old is this cluster? Identifier should be present AFAIK. |
Thanks for the work-around @alextwoods. That works! @mullermp - The cluster engine version is PG 11.21, so it's an older version. |
Agree with not using the Resource interface. That's odd that your cluster doesn't have an identifier. Maybe new clusters will have one created? Or is there a way to edit your cluster to have an identifier? |
|
Describe the bug
I am trying to list shared DB Clusters and it is raising the following exception:
This is the code that is raising it:
Expected Behavior
I expected it to print out a list of DB Clusters, including the ones shared with my Account.
Current Behavior
The backtrace is already included, but I also noticed from the AWS CLI output, that the shared clusters do not have an ID in the listed output.
Reproduction Steps
See above
Possible Solution
No response
Additional Information/Context
No response
Gem name ('aws-sdk', 'aws-sdk-resources' or service gems like 'aws-sdk-s3') and its version
aws-sdk-rds
Environment details (Version of Ruby, OS environment)
Ruby 3.2.2 in RVM on OSX
The text was updated successfully, but these errors were encountered: