fix vpc example
authorLorin Hochstein <lhochstein@netflix.com>
Sun, 12 Feb 2017 00:33:35 +0000 (16:33 -0800)
committerLorin Hochstein <lhochstein@netflix.com>
Sun, 12 Feb 2017 00:33:35 +0000 (16:33 -0800)
ch12/playbooks/ec2-vpc-example.yml

index 3e494ac..bb4ea88 100755 (executable)
@@ -52,7 +52,7 @@
     with_file: ~/.ssh/id_rsa.pub
   - name: web security group
     ec2_group:
-      name: vpc-web
+      name: web
       region: "{{ region }}"
       description: allow http and https access
       vpc_id: "{{ vpc_id }}"
@@ -67,7 +67,7 @@
           cidr_ip: 0.0.0.0/0
   - name: ssh security group
     ec2_group:
-      name: vpc-ssh
+      name: ssh
       region: "{{ region }}"
       description: allow ssh access
       vpc_id: "{{ vpc_id }}"
@@ -78,7 +78,7 @@
           cidr_ip: 0.0.0.0/0
   - name: outbound security group
     ec2_group:
-      name: vpc-outbound
+      name: outbound
       description: allow outbound connections to the internet
       region: "{{ region }}"
       vpc_id: "{{ vpc_id }}"
       instance_type: "{{ instance_type }}"
       assign_public_ip: True
       key_name: mykey
-      group: [vpc-web, vpc-ssh, vpc-outbound]
+      group: [web, ssh, outbound]
       instance_tags: { Name: book, type: web, env: production }
       exact_count: "{{ count }}"
       count_tag: { type: web }