skip to Main Content

I was hoping that there might be an easy way to export a parameter group from one account to another account. This doesn’t seem possible via the aws console.

I checked the aws cli rds command documentation, and there is the DESCRIBE command, which i have used to create a text or json output file. But i am not seeing a way to import that pg.

Thanks for any help/suggestions.

2

Answers


  1. Chosen as BEST ANSWER

    Ah...I should have looked a little deeper at the aws cli commands, before posting this question. Sorry!

    After posting, I just noticed that the create command accepts a json input file!
    That will do what i need.

    aws rds create-db-parameter-group 
        --db-parameter-group-name <group-name> 
        --db-parameter-group-family <group-family> 
        --description <group-description> 
        --cli-input-json file://<path-to-file>
    

  2. Great that you found a solution, also, you could evaluate use AWS Cloudformation Templates to deploy your configurations for multiples accounts in more easy way. Below you can find more information for AWS RDS Parameters Groups using AWS Cloudformation.

    https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbparametergroup.html

    Also here is a blog for best practices to deploy AWS Resources using AWS Cloudformation.

    Best practices to deploy Amazon Aurora databases with AWS CloudFormation

    Best Regards

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search