Skip to content

Copy parameters from a AWS parameter store to another

License

Notifications You must be signed in to change notification settings

mkdev-me/aws-ssm-copy

 
 

Repository files navigation

aws-ssm-copy-parameters

Copy parameters from a AWS parameter store to another

Options

usage: aws-ssm-copy [options] PARAMETER [PARAMETER ...]

positional arguments:

PARAMETER             source path

optional arguments:

-h, --help             show this help message and exit
--one-level, -1        one-level copy
--recursive, -r        recursive copy
--overwrite, -f        existing values
--keep-going, -k       as much as possible, even after an error
--dry-run, -N          only show what is to be copied
--source-region REGION to get the parameters from
--source-profile NAME  to obtain the parameters from
--region REGION        to copy the parameters to
--profile NAME         to copy the parameters to
--target-path NAME     to copy the parameters to
--key-id ID            to use for parameter values in the destination
--clear-key-id, -C     clear the kms key id associated with the parameter

Examples

Copy all parameters under /dev to a new profile:

aws-ssm-copy --profile binx-io --recursive /dev 

Copy all parameters under /dev to /production, with a dry run first:

aws-ssm-copy -r --dry-run --target-path /production /dev

Read more about copying aws ssm parameters from one account to another.

About

Copy parameters from a AWS parameter store to another

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.2%
  • Makefile 22.0%
  • Shell 13.8%