Skip to content

Instantly share code, notes, and snippets.

@nitanka
Created August 14, 2017 09:31
Show Gist options
  • Save nitanka/7b5b1b6005b50df9af007489ecf72222 to your computer and use it in GitHub Desktop.
Save nitanka/7b5b1b6005b50df9af007489ecf72222 to your computer and use it in GitHub Desktop.
Ansible: Create VPC
---
- hosts: localhost
tasks:
- ec2_vpc:
state: present
cidr_block: 10.3.0.0/16
resource_tags: { "Environment":"Development" }
region: ap-northeast-1
state: present
instance_tenancy: dedicated
@nitanka
Copy link
Author

nitanka commented Aug 14, 2017

Not generic, need to update it, just the initial copy of the playbook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment