Guy Knights
2015-07-16 21:04:12 UTC
I'm getting the following in a playbook a task to create an RDS instance
runs:
msg: failed to create instance: null
This task worked fine yesterday, today I made a minor change to the VPC
task (below) by adding another app subnet and specifying availability zones
for the 2 app subnets, but this should have no effect on the RDS task. The
RDS task itself hasn't been changed.
- name: provision white label vpc
ec2_vpc:
state: present
cidr_block: "10.{{ wl_vpc_prefix }}.0.0/16"
resource_tags: { "Name": "{{ wl_name }}-bbe-vpc" }
region: us-west-1
subnets:
- cidr: "10.{{ wl_vpc_prefix }}.1.0/24"
resource_tags: { "Name": "{{ wl_name }}-bbe-public" }
- cidr: "10.{{ wl_vpc_prefix }}.2.0/24"
az: us-west-1a
resource_tags: { "Name": "{{ wl_name }}-bbe-app" }
- cidr: "10.{{ wl_vpc_prefix }}.3.0/24"
az: us-west-1b
resource_tags: { "Name": "{{ wl_name }}-bbe-app" }
- cidr: "10.{{ wl_vpc_prefix }}.4.0/24"
resource_tags: { "Name": "{{ wl_name }}-bbe-mgmt" }
- cidr: "10.{{ wl_vpc_prefix }}.5.0/24"
az: us-west-1a
resource_tags: { "Name": "{{ wl_name }}-bbe-db" }
- cidr: "10.{{ wl_vpc_prefix }}.6.0/24"
az: us-west-1b
resource_tags: { "Name": "{{ wl_name }}-bbe-db" }
internet_gateway: True
route_tables:
- subnets:
- "10.{{ wl_vpc_prefix }}.1.0/24"
routes:
- dest: 0.0.0.0/0
gw: igw
register: vpc
Does anyone have any idea what the problem is here?
Thanks,
Guy
runs:
msg: failed to create instance: null
This task worked fine yesterday, today I made a minor change to the VPC
task (below) by adding another app subnet and specifying availability zones
for the 2 app subnets, but this should have no effect on the RDS task. The
RDS task itself hasn't been changed.
- name: provision white label vpc
ec2_vpc:
state: present
cidr_block: "10.{{ wl_vpc_prefix }}.0.0/16"
resource_tags: { "Name": "{{ wl_name }}-bbe-vpc" }
region: us-west-1
subnets:
- cidr: "10.{{ wl_vpc_prefix }}.1.0/24"
resource_tags: { "Name": "{{ wl_name }}-bbe-public" }
- cidr: "10.{{ wl_vpc_prefix }}.2.0/24"
az: us-west-1a
resource_tags: { "Name": "{{ wl_name }}-bbe-app" }
- cidr: "10.{{ wl_vpc_prefix }}.3.0/24"
az: us-west-1b
resource_tags: { "Name": "{{ wl_name }}-bbe-app" }
- cidr: "10.{{ wl_vpc_prefix }}.4.0/24"
resource_tags: { "Name": "{{ wl_name }}-bbe-mgmt" }
- cidr: "10.{{ wl_vpc_prefix }}.5.0/24"
az: us-west-1a
resource_tags: { "Name": "{{ wl_name }}-bbe-db" }
- cidr: "10.{{ wl_vpc_prefix }}.6.0/24"
az: us-west-1b
resource_tags: { "Name": "{{ wl_name }}-bbe-db" }
internet_gateway: True
route_tables:
- subnets:
- "10.{{ wl_vpc_prefix }}.1.0/24"
routes:
- dest: 0.0.0.0/0
gw: igw
register: vpc
Does anyone have any idea what the problem is here?
Thanks,
Guy
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8777df80-2b42-4d7f-826d-b90f5b06366c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+***@googlegroups.com.
To post to this group, send email to ansible-***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8777df80-2b42-4d7f-826d-b90f5b06366c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.