Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

DeviaVir/elb-update-security-policy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

elb-update-security-policy

ELB Security Policy Update tool

Install

elb-update-security-policy is available from PyPi and can be installed via pip:

pip install elb-update-security-policy

Example

Update all ELBs postfixed with '-stage'

elb-update-security-policy --old ELBSecurityPolicy-2014-10 --new ELBSecurityPolicy-2015-02 '*-stage'

Usage

elb-update-security-policy

usage: elb-update-security-policy [-h] [-a] [-r REGION] --old OLD --new NEW
                        [--regex] ELB [ELB ...]

ELB Update Security Policy

positional arguments:
  ELB                   list of ELBs or regexes to match

optional arguments:
  -h, --help            show this help message and exit
  -a, --auto            auto-detect (default: False)
  -r REGION, --region REGION
                        ec2 region (default: None)
  --old OLD             old security-policy-name (default: None)
  --new NEW             new security-policy-name (default: None)
  --regex               use regex instead of simple match (default: False)

About

Update ELB listeners with a new security policy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%