Skip to content

Instantly share code, notes, and snippets.

View Efrat19's full-sized avatar
🐤
Poking around

Efrat Levitan Efrat19

🐤
Poking around
View GitHub Profile
@Efrat19
Efrat19 / cp-parameter-group.py
Last active November 23, 2020 07:11 — forked from phill-tornroth/cp-parameter-group.py
Copies an rds parameter group with support for cross-region copying. Quick bashed out script because AWS cli doesn't support.
"""
Copies a parameter group in RDS, particularly useful for doing cross-region copies (which AWS documents,
but doesn't actually support at the time of this writing.
Usage: python cp-parameter-group.py us-west-1:lookerdb-56 us-west-2:lookerdb-56
"""
import boto3
import sys