Skip to content

Copy AWS CloudFront distribution settings between distributions

Notifications You must be signed in to change notification settings

jszoja/aws-cf-copy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

aws-cf-copy

It is simple tool, which automates the process of copying setup/behaviors between two CloudFront distributions

Requirements

You need to install awscli and configure it, eg:

pip install awscli --upgrade --user

More details: read more...

Usage

usage: aws-cf-copy.py [-h] [--with-error-pages] [-o OUTPUT] [--deploy]
                      src target

Copy CloudFront behaviors between distributions

positional arguments:
  src                 source CF distribution: id or file://path/to/config.json
  target              target CF distribution

optional arguments:
  -h, --help          show this help message and exit
  --with-error-pages  copy error pages setup
  -o OUTPUT           output the configuration to a file
  --deploy            Deploy the changes to the target CloudFront
                      distribution? It requires output file to be defined in
                      -o option.

It will ask you to choose the corresponding origins for the target distribution.

About

Copy AWS CloudFront distribution settings between distributions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages