Resource Type: ec2_vpc_subnet

Defined in:
lib/puppet/type/ec2_vpc_subnet.rb
Providers:
v2

Overview

Type representing a VPC Subnet.

Properties

  • availability_zone

    The availability zone in which to launch the subnet.

  • cidr_block

    The IP address range for the subnet.

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • map_public_ip_on_launch (defaults to: false)

    Indicates whether instances launched in this subnet receive a public IP address.

    Supported values:
    • true
    • false
  • region

    The region in which to launch the subnet.

  • route_table

    The route table to attach to the subnet.

  • tags

    Tags to assign to the subnet.

  • vpc

    The VPC to attach the subnet to.

Parameters

  • name (namevar)

    The name of the subnet.

  • provider

    The specific backend to use for this ‘ec2_vpc_subnet` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.