Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.24 KB

aws_vpc_dhcp_options_association.md

File metadata and controls

81 lines (60 loc) · 1.24 KB

aws_vpc_dhcp_options_association

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

module "aws_vpc_dhcp_options_association" {
  source = "./modules/aws/r/aws_vpc_dhcp_options_association"

  # dhcp_options_id - (required) is a type of string
  dhcp_options_id = null
  # vpc_id - (required) is a type of string
  vpc_id = null
}

top

Variables

variable "dhcp_options_id" {
  description = "(required)"
  type        = string
}

variable "vpc_id" {
  description = "(required)"
  type        = string
}

top

Resource

resource "aws_vpc_dhcp_options_association" "this" {
  # dhcp_options_id - (required) is a type of string
  dhcp_options_id = var.dhcp_options_id
  # vpc_id - (required) is a type of string
  vpc_id = var.vpc_id
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = aws_vpc_dhcp_options_association.this.id
}

output "this" {
  value = aws_vpc_dhcp_options_association.this
}

top