vpc

clouddrove/vpc/aws

Terraform Module HCL AWS

Terraform module to create VPC resource on AWS.

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

Terraform AWS VPC Terraform module vpc to create new modules using this as baseline We eat, drink, sleep and most importantly love DevOps. We are working towards strategies for standardizing architecture while ensuring security for the infrastructure. We are strong believer of the philosophy Bigger problems are always solved by breaking them into smaller manageable problems . Resonating with microservices architecture, it is considered best-practice to run database, cluster, storage in smaller connected yet manageable pieces within the infrastructure. This module is basically combination of Terraform open source and includes automatation tests and examples. It also helps to create and improve your infrastructure with minimalistic code instead of maintaining the whole infrastructure code yo

Inputs (50)
NameTypeDescriptionDefault
enabled_ipv6_egress_only_internet_gatewayboolA boolean flag to enable/disable IPv6 Egress-Only Internet Gateway creationtrue
instance_tenancystringA tenancy option for instances launched into the VPC."default"
ipv4_ipam_pool_idstringThe ID of an IPv4 IPAM pool you want to use for allocating this VPC's CIDR.""
default_route_table_routeslist(map(string))Configuration block of routes.[]
default_network_acl_ingresslist(map(string))List of maps of ingress rules to set on the Default Network ACL[ { "action": "allow", "cidr_b
flow_log_log_formatstringThe fields to include in the flow log record, in the order in which they should null
block_http_trafficboolTrue when http traffic has to be blocked for S3.true
cidr_blockstringCIDR for the VPC.""
dns_hostnames_enabledboolA boolean flag to enable/disable DNS hostnames in the VPC.true
dhcp_options_domain_namestringSpecifies DNS name for DHCP options set (requires enable_dhcp_options set to tru"service.consul"
flow_log_file_formatstring(Optional) The format for the flow log. Valid values: `plain-text`, `parquet`null
dns_support_enabledboolA boolean flag to enable/disable DNS support in the VPC.true
ipv6_cidr_block_network_border_groupstringSet this to restrict advertisement of public addresses to a specific Network Bornull
aws_default_route_tableboolA boolean flag to enable/disable Default Route Table in the VPC.true
create_flow_log_cloudwatch_iam_roleboolFlag to be set true when cloudwatch iam role is to be created when flow log destfalse
flow_log_destination_arnstringARN of destination where vpc flow logs are to stored. Can be of existing s3 or enull
enable_flow_logboolEnable vpc_flow_log logs.false
default_security_group_ingresslist(map(string))List of maps of ingress rules to set on the default security group[]
flow_logs_bucket_namestringName (e.g. `mybucket` or `bucket101`).null
flow_log_per_hour_partitionbool(Optional) Indicates whether to partition the flow log per hour. This reduces thfalse
… and 10 more inputs
Outputs (14)
arn — Amazon Resource Name (ARN) of VPC
vpc_id — The ID of the VPC.
vpc_cidr_block — The CIDR block of the VPC.
ipv6_cidr_block_network_border_group — The IPv6 Network Border Group Zone name
vpc_default_security_group_id — The ID of the security group created by default on VPC creation.
igw_id — The ID of the Internet Gateway.
vpc_ipv6_association_id — The association ID for the IPv6 CIDR block.
vpc_default_route_table_id — The ID of the route table created by default on VPC creation.
tags — A mapping of tags to assign to the resource.
vpc_arn — The ARN of the VPC
ipv6_cidr_block — The IPv6 CIDR block.
vpc_main_route_table_id — The ID of the main route table associated with this VPC.
vpc_default_network_acl_id — The ID of the network ACL created by default on VPC creation.
ipv6_egress_only_igw_id — The ID of the egress-only Internet Gateway
Resources (23)
aws_cloudwatch_log_groupaws_default_network_aclaws_default_route_tableaws_default_security_groupaws_egress_only_internet_gatewayaws_flow_logaws_iam_policyaws_iam_roleaws_iam_role_policy_attachmentaws_internet_gatewayaws_kms_aliasaws_kms_keyaws_kms_key_policyaws_s3_bucketaws_s3_bucket_aclaws_s3_bucket_ownership_controlsaws_s3_bucket_policyaws_s3_bucket_public_access_blockaws_s3_bucket_server_side_encryption_configurationaws_vpcaws_vpc_dhcp_optionsaws_vpc_dhcp_options_associationaws_vpc_ipv4_cidr_block_association
Details
FrameworkTerraform Module
LanguageHCL
Version2.0.0
Cloud AWS
★ Stars37
Forks20
Total downloads50.6k
Inputs50
Outputs14
Resources23
LicenseApache-2.0
Namespaceclouddrove
Updated