vpc

foss-cafe/vpc/aws

Terraform Module HCL AWS

AWS terraform module for VPC

Install
module "vpc" {
source = "foss-cafe/vpc/aws"
version = "1.0.4"
}
plain text: /constructs/tfmod-foss-cafe-vpc-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

!Static security analysis for Terraform Terraform Module AWS VPC Use as a Module ``hcl module "vpc" { source = "ionicloud/vpc/aws" cidr_block = "10.10.0.0/16" } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.12.24 | | aws | >= 2.60 | Providers | Name | Version | |------|---------| | aws | >= 2.60 | Modules No modules. Resources | Name | Type | |------|------| | aws_cloudwatch_log_group.this | resource | | aws_default_network_acl.this | resource | | aws_default_security_group.this | resource | | aws_flow_log.this | resource | | aws_iam_role.this | resource | | aws_internet_gateway.this | resource | | aws_vpc.this | resource | | aws_vpc_dhcp_options.this | resource | | aws_vpc_dhcp_options_association.this | resource | Inputs | Name | Description | Type | Default | R

Inputs (37)
NameTypeDescriptionDefault
cidr_blockstring(Required) The IPv4 CIDR block for the VPC. required
traffic_typestringThe type of traffic to capture. Valid values: ACCEPT,REJECT, ALL"ALL"
assign_generated_ipv6_cidr_blockboolRequests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPCfalse
domain_name_serverslist(string)ist of name servers to configure in /etc/resolv.conf[ "AmazonProvidedDNS" ]
domain_namestringsuffix domain name to use by default when resolving non Fully Qualified Domain N"ec2.internal"
ntp_serverslist(string)(Optional) List of NTP servers to configure.null
netbios_node_typenumberOptional) The NetBIOS node type (1, 2, 4, or 8). AWS recommends to specify 2 sin2
log_formatstringThe fields to include in the flow log record, in the order in which they should ""
create_igwboolDo you want to Create Internet Gatewaytrue
namestringName to be used on all the resources as identifier"Example"
instance_tenancystringA tenancy option for instances launched into the VPC"default"
netbios_name_serverslist(string)(Optional) List of NETBIOS name servers.null
destination_optionsany(Optional) Describes the destination options for a flow log. More details below.[]
enable_dns_hostnamesboolShould be true to enable DNS hostnames in the VPCfalse
skip_destroybool(Optional) Set to true if you do not wish the log group (and any logs it may confalse
kms_key_idstring(Optional) The ARN of the KMS Key to use when encrypting log data. Please note, null
ipv4_netmask_lengthstring(Optional) The netmask length of the IPv4 CIDR you want to allocate to this VPC.null
ipv6_netmask_lengthnumber(Optional) Netmask length to request from IPAM Pool. Conflicts with ipv6_cidr_blnull
deliver_cross_account_rolestring(Optional) ARN of the IAM role that allows Amazon EC2 to publish flow logs acrosnull
log_retention_in_daysnumberSpecifies the number of days you want to retain log events in the specified log 90
ipv6_cidr_blockstring(Optional) IPv6 CIDR block to request from an IPAM Pool. Can be set explicitly onull
Outputs (11)
id — ID of the VPC
owner_id — The ID of the AWS account that owns the VPC
igw_id — The ID of the Internet Gateway.
default_route_table_id — The ID of the route table created by default on VPC creation
log_group_arn — Amazon Resource Name (ARN) specifying the log group.
flow_log_id — The Flow Log ID
igw_arn — The ID of the Internet Gateway.
arn — Amazon Resource Name (ARN) of VPC
main_route_table_id — The ID of the main route table associated with this VPC.
default_network_acl_id — The ID of the network ACL created by default on VPC creation
default_security_group_id — The ID of the security group created by default on VPC creation
Resources (9)
aws_cloudwatch_log_groupaws_default_network_aclaws_default_security_groupaws_flow_logaws_iam_roleaws_internet_gatewayaws_vpcaws_vpc_dhcp_optionsaws_vpc_dhcp_options_association
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.4
Cloud AWS
★ Stars0
Forks0
Total downloads6.1k
Inputs37
Outputs11
Resources9
Examples2
Namespacefoss-cafe
Updated