Skip to content

Latest commit

 

History

History
48 lines (25 loc) · 1.34 KB

File metadata and controls

48 lines (25 loc) · 1.34 KB

AWS Elastic Beanstalk

EBExtensions Option Settings Validator

########################### Akshit Khanna #########################

########################## AWS Tools ##############################

Usage:

python ebXparser.py ebx_config_file

Release Notes:

-- Validates the formatting and option settings of ebextensions general option_settings

"http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-general.html"

-- Works with both the general and shorthand formats. eg:

General::

option_settings:

  • namespace: aws:autoscaling:asg option_name: Cooldown value: 500

Shorthand::

option_settings: aws:autoscaling:asg: Cooldown: 500

-- Sub Directory "configs" contains all the files for different namespaces that contain the option settings and allowed values that serve as reference.

-- aws:elb:policies:policy_name has not been implemented yet.

-- aws:elasticbeanstalk:environment:process:default -> HealthCheckInterval has 2 sets of thresholds for ALB and NLB. Only the wider set has been implemented yet.

-- Options like "InstanceType" might be considered valid if they are entered as any string. Will update this later to allow only valid values.

-- Files under the "config" directory can be modified to add/delete/update option settings.

-- YAML lint does not work very well with the shorthand version.