Skip to content
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

AWS CLI fails to find a newly created db parameter group #8489

Closed
ghost opened this issue Jan 22, 2024 · 3 comments
Closed

AWS CLI fails to find a newly created db parameter group #8489

ghost opened this issue Jan 22, 2024 · 3 comments
Assignees
Labels
bug This issue is a bug. p3 This is a minor priority issue rds response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.

Comments

@ghost
Copy link

ghost commented Jan 22, 2024

Describe the bug

After creating a db parameter group, aws cli fails to find it.
When running the command aws rds describe-db-parameter-groups it shows the old list of parameter groups (the new one doesn't show up.
When running aws rds describe-db-parameter-groups --db-parameter-group-name <my_parameter_group_name> the command throws the error:
An error occurred (DBParameterGroupNotFound) when calling the DescribeDBParameterGroups operation: DBParameterGroup not found: <my_parameter_group_name>
I waited multiple minutes, and still not working.

How long does it take for aws cli to recognize the new parameter group created? Is there a way to speed up this process, to make it refresh quicker?

thanks!

Expected Behavior

aws cli should be able to find the newly created parameter group right away. I can see it in the AWS Portal, but aws cli cannot find it.

Current Behavior

aws cli cannot find a newly created db parameter group

Reproduction Steps

  1. Create a new db parameter group (either programatically, or manually from AWS Portal)
  2. Run the command aws rds describe-db-parameter-groups and notice the new db parameter group is not there.
  3. Alternatively, run aws rds describe-db-parameter-groups --db-parameter-group-name <my_parameter_group_name> and you will receive an error DBParameterGroupNotFound

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.15.12 Python/3.11.7 Darwin/23.2.0 source/arm64 prompt/off

Environment details (OS name and version, etc.)

MacOS (Darwin)

@ghost ghost added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jan 22, 2024
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Jan 23, 2024
@RyanFitzSimmonsAK RyanFitzSimmonsAK added rds p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Jan 23, 2024
@RyanFitzSimmonsAK
Copy link
Contributor

Hi @mariusmanea-selfridges, thanks for reaching out. This sounds like it might an issue with regions; can you verify that the region in which you've created a parameter group matches the region you're making the describe request from?

@RyanFitzSimmonsAK RyanFitzSimmonsAK added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Jan 23, 2024
@ghost
Copy link
Author

ghost commented Jan 30, 2024

Hi,
I was using crong cli command.. should have been aws rds describe-db-cluster-parameter-groups instead.
Everything works as expected :)
thanks!

@ghost ghost closed this as completed Jan 30, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p3 This is a minor priority issue rds response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Projects
None yet
Development

No branches or pull requests

1 participant