mattclay.aws.ec2_az_vpc_subnets (4.0.1) — filter

generate a list of availability zones and subnets

Authors: unknown

Install collection

Install with ansible-galaxy collection install mattclay.aws:==4.0.1


Add to requirements.yml

  collections:
    - name: mattclay.aws
      version: 4.0.1

Description

Use the input zones dictionary, provided subnet format string and tag name to build a list of availiability zones with subnets.

Inputs

    
name:
    description: The name (tag) to apply to the subnet.
    required: true
    type: str

_input:
    description: A dictionary of availability zones. The key is the zone name. The value
      is unused.
    required: true
    type: dict

subnet:
    description: The subnet format string. The placeholder will be replaced with a number
      representing the availability zone, with ``a`` being ``0``.
    required: true
    type: str

Outputs

_value:
  description: A list of dictionaries representing the generated availability zones
    and subnets.
  elements: dict
  type: list