Skip to content

nitinda/terraform-module-aws-vpc-dhcp-options

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Module: terraform-module-aws-vpc-dhcp-options

Terraform module for AWS VPC DHCP Options


Code : Stable

This is a stable example. It should successfully build out of the box

This examples does is built on Construct Libraries marked "Stable" and does not have any infrastructure prerequisites to build.


General

This module can be used to deploy a VPC DHCP Options on AWS Cloud Provider......


Prerequisites

This module needs Terraform 0.12.23 or newer. You can download the latest Terraform version from here.


Features Branches

Below we are able to check the resources that are being created as part of this module call:

  • VPC DHCP Options

Usage

Using this repo

To use this module, add the following call to your code:

  • Sample Code:
module "vpc_dhcp_options" {
  source = "git::https://github.com/nitinda/terraform-module-aws-vpc-dhcp-options.git?ref=master"

  domain_name_servers = ["8.8.8.8", "8.8.4.4"]
  tags                = {
    Environment = "prod"
    Project     = "POC"
  }
}
module "vpc_dhcp_options" {
  source = "git::https://github.com/nitinda/terraform-module-aws-vpc-dhcp-options.git?ref=master"

  domain_name          = "service.consul"
  domain_name_servers  = ["127.0.0.1", "10.0.0.2"]
  ntp_servers          = ["127.0.0.1"]
  netbios_name_servers = ["127.0.0.1"]
  netbios_node_type    = 2
  tags                 = {
    Environment = "prod"
    Project     = "POC"
  }
}

Inputs

The variables required in order for the module to be successfully called from the deployment repository are the following:

Variable Description Type Argument Status Default Value
domain_name the suffix domain name to use by default when
resolving non Fully Qualified Domain Names
bool Optional null
domain_name_servers List of name servers to configure in /etc/resolv.conf list(string) Optional ["AmazonProvidedDNS"]
ntp_servers List of NTP servers to configure list(string) Optional []
netbios_name_servers The NetBIOS node type string Optional null
tags A mapping of tags to assign to the resource map(string) Optional {}

Outputs

General

This module has the following outputs:

  • id

Usage

In order for the variables to be accessed at module level please use the syntax below:

module.<module_name>.<output_variable_name>

The output variable is able to be accessed through terraform state file using the syntax below:

data.terraform_remote_state.<layer_name>.<output_variable_name>

Authors

Module maintained by Module maintained by the - Nitin Das

Releases

No releases published

Packages

No packages published

Languages