pulumi_wasm_providers_aws_mini::ec2

Module default_vpc_dhcp_options

source
Expand description

Provides a resource to manage the default AWS DHCP Options Set in the current region.

Each AWS region comes with a default set of DHCP options. This is an advanced resource, and has special caveats to be aware of when using it. Please read this document in its entirety before using this resource.

The aws.ec2.DefaultVpcDhcpOptions behaves differently from normal resources, in that this provider does not create this resource, but instead “adopts” it into management.

§Example Usage

Basic usage with tags:

resources:
  default:
    type: aws:ec2:DefaultVpcDhcpOptions
    properties:
      tags:
        Name: Default DHCP Option Set

§Import

Using pulumi import, import VPC DHCP Options using the DHCP Options id. For example:

$ pulumi import aws:ec2/defaultVpcDhcpOptions:DefaultVpcDhcpOptions default_options dopt-d9070ebb

Structs§

Functions§

  • Registers a new resource with the given unique name and arguments