module

Georgii-M/module/nat

Terraform Module HCL NAT

This repo contains terraform modules ready-to-use in production

Install
module "module" {
source = "Georgii-M/module/nat"
version = "0.0.1"
}
plain text: /constructs/tfmod-georgii-m-module-nat/install.txt
⭐ Source on GitHub 📦 Registry page
Inputs (43)
NameTypeDescriptionDefault
capacity_reservation_specificationanyDescribes an instance's Capacity Reservation targeting option required
ipv6_address_countnumberA number of IPv6 addresses to associate with the primary network interface. Amaz required
ipv6_addresseslist(string)Specify one or more IPv6 addresses from the range of the subnet to associate wit required
launch_templatemap(string)Specifies a Launch Template to configure the instance. Parameters configured on required
vpc_security_group_idslist(string)A list of security group IDs to associate with required
cpu_core_countnumberSets the number of CPU cores for an instance. required
associate_public_ip_addressboolWhether to associate a public IP address with an instance in a VPC required
availability_zonestringAZ to start the instance in required
cpu_creditsstringThe credit option for CPU usage (unlimited or standard) required
get_password_databoolIf true, wait for password data to become available and retrieve it. required
host_idstringID of a dedicated host that the instance will be assigned to. Use when an instan required
placement_groupstringThe Placement Group to start the instance in required
secondary_private_ipslist(string)A list of secondary private IPv4 addresses to assign to the instance's primary n required
user_data_base64stringCan be used instead of user_data to pass base64-encoded binary data directly. Us required
instance_initiated_shutdown_behaviorstringShutdown behavior for the instance. Amazon defaults this to stop for EBS-backed required
tenancystringThe tenancy of the instance (if the instance is running in a VPC). Available val required
disable_api_terminationboolIf true, enables EC2 Instance Termination Protection required
key_namestringKey name of the Key Pair to use for the instance; which can be managed using the required
user_datastringThe user data to provide when launching the instance. Do not pass gzip-compresse required
ebs_optimizedboolIf true, the launched EC2 instance will be EBS-optimized required
ephemeral_block_devicelist(map(string))Customize Ephemeral (also known as Instance Store) volumes on the instance[]
metadata_optionsmap(string)Customize the metadata options of the instance{}
tagsmap(string)A mapping of tags to assign to the resource{}
volume_tagsmap(string)A mapping of tags to assign to the devices created by the instance at launch tim{}
createboolWhether to create an instancetrue
ebs_block_devicelist(map(string))Additional EBS block devices to attach to the instance[]
enable_volume_tagsboolWhether to enable volume tags (if enabled it conflicts with root_block_device tatrue
priv_route_tablestringID of the private route table""
allocation_idstringElastic IP allocation id to be used for nat gateway""
amistringID of AMI to use for the instance""
instance_typestringThe type of instance to start"t3.micro"
source_dest_checkboolControls if traffic is routed to the instance when the destination address does false
timeoutsmap(string)Define maximum timeout for creating, updating, and deleting EC2 instance resourc{}
namestringName to be used on EC2 instance created""
network_interfacelist(map(string))Customize network interfaces to be attached at instance boot time[]
root_block_devicelist(any)Customize details about the root block device of the instance. See Block Devices[]
monitoringboolIf true, the launched EC2 instance will have detailed monitoring enabledfalse
… and 3 more inputs
Outputs (11)
public_dns — The public DNS name assigned to the instance. For EC2-VPC, this is only available if you've enabled
public_ip — The public IP address assigned to the instance, if applicable. NOTE: If you are using an aws_eip wit
tags_all — A map of tags assigned to the resource, including those inherited from the provider default_tags con
primary_network_interface_id — The ID of the instance's primary network interface
private_dns — The private DNS name assigned to the instance. Can only be used inside the Amazon EC2, and only avai
id — The ID of the instance
arn — The ARN of the instance
capacity_reservation_specification — Capacity reservation specification of the instance
instance_state — The state of the instance. One of: `pending`, `running`, `shutting-down`, `terminated`, `stopping`,
outpost_arn — The ARN of the Outpost the instance is assigned to
password_data — Base-64 encoded encrypted password data for the instance. Useful for getting the administrator passw
Resources (5)
aws_eipaws_eip_associationaws_instanceaws_nat_gatewayaws_route
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud NAT
★ Stars0
Forks1
Total downloads713
Inputs43
Outputs11
Resources5
NamespaceGeorgii-M
Updated