Schema Reference¶
End user YAML Schema Reference for describing VPCs and related AWS resources.
These documents describe how to structure YAML in a Botoform compatible schema.
You may optionally use Jinja2 in your YAML config.
Hello World¶
Smallest botoform template, helloworld.yaml
:
vpc_cidr: {{ vpc_cidr }}
amis:
ubuntu-14.04-lts-hvm:
us-east-1: ami-fce3c696
route_tables:
public:
routes:
- ['0.0.0.0/0', 'internet_gateway']
subnets:
public-1:
size: 27
route_table: public
public: True
security_groups:
bastion:
inbound:
- ['0.0.0.0/0', 'tcp', 22]
instance_roles:
bastion:
instance_type: t2.micro
ami: 'ubuntu-14.04-lts-hvm'
count: 1
security_groups: ['bastion']
subnets: ['public-1']
eip: true
block_devices:
"/dev/sda1":
size: 10