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