Skip to content

Instantly share code, notes, and snippets.

View elik1001's full-sized avatar

Eli Kleinman elik1001

  • Curbngo Photo
  • New York City
View GitHub Profile
@phill-tornroth
phill-tornroth / cp-parameter-group.py
Created August 23, 2018 19:19
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