ec2_vpc { 'garethr-test':
ensure => present,
region => 'sa-east-1',
cidr_block => '10.0.0.0/16',
instance_tenancy => 'default',
}
ec2_vpc_subnet { 'garethr-subnet':
ensure => present,
region => 'sa-east-1',
vpc => 'garethr-test',
cidr_block => '10.0.0.0/24',
availability_zone => 'sa-east-1a',
route_table => 'garethr-routes',
}
ec2_vpc_routetable { 'garethr-routes':
ensure => present,
region => 'sa-east-1',
vpc => 'garethr-test',
routes => [
{ destination_cidr_block => '10.0.0.0/16', gateway => 'local' },
],
}
Created
January 13, 2015 09:18
-
-
Save garethr/0bf214515d43bf96e302 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment