Home

Awesome

Modernisation Platform Terraform Member VPC Module

Standards Icon Format Code Icon Scorecards IconSCA Icon Terraform SCA Icon

This module creates the member accounts VPC and networking.

Looking for issues?

If you're looking to raise an issue with this module, please create a new issue in the Modernisation Platform repository.

<!-- BEGIN_TF_DOCS -->

Requirements

NameVersion
<a name="requirement_terraform"></a> terraform>= 1.0.1
<a name="requirement_aws"></a> aws~> 5.0
<a name="requirement_random"></a> random~> 3.4

Providers

NameVersion
<a name="provider_aws"></a> aws~> 5.0
<a name="provider_random"></a> random~> 3.4

Modules

No modules.

Resources

NameType
aws_cloudwatch_log_group.defaultresource
aws_default_security_group.defaultresource
aws_flow_log.cloudwatchresource
aws_flow_log.s3resource
aws_internet_gateway.defaultresource
aws_route.public_internet_gatewayresource
aws_route.transit_gatewayresource
aws_route_table.protectedresource
aws_route_table.route_tablesresource
aws_route_table_association.protectedresource
aws_route_table_association.route_table_associationsresource
aws_security_group.endpointsresource
aws_security_group_rule.endpoints_ingress_1resource
aws_security_group_rule.endpoints_ingress_2resource
aws_security_group_rule.endpoints_ingress_3resource
aws_security_group_rule.endpoints_ingress_4resource
aws_subnet.protectedresource
aws_subnet.subnetsresource
aws_vpc.vpcresource
aws_vpc_endpoint.ssm_interfacesresource
aws_vpc_endpoint.ssm_s3resource
aws_vpc_ipv4_cidr_block_association.subnet_setsresource
random_id.flow_logsresource
aws_availability_zones.availabledata source
aws_region.currentdata source

Inputs

NameDescriptionTypeDefaultRequired
<a name="input_additional_endpoints"></a> additional_endpointsadditional endpoints required for VPClist(any)n/ayes
<a name="input_flow_log_s3_destination_arn"></a> flow_log_s3_destination_arnOptionally supply an ARN of an S3 bucket to send flow logs tostring""no
<a name="input_subnet_sets"></a> subnet_setsn/amap(any)n/ayes
<a name="input_tags_common"></a> tags_commonMOJ required tagsmap(string)n/ayes
<a name="input_tags_prefix"></a> tags_prefixprefix for name tagsstringn/ayes
<a name="input_transit_gateway_id"></a> transit_gateway_idtgw IDstringn/ayes
<a name="input_vpc_flow_log_iam_role"></a> vpc_flow_log_iam_roleVPC Flow Log IAM role ARN for VPC Flow Logs to CloudWatchstringn/ayes

Outputs

NameDescription
<a name="output_data_subnet_ids"></a> data_subnet_idsn/a
<a name="output_expanded_worker_subnets_assocation"></a> expanded_worker_subnets_assocationn/a
<a name="output_expanded_worker_subnets_with_keys"></a> expanded_worker_subnets_with_keysn/a
<a name="output_non_tgw_subnet_arns"></a> non_tgw_subnet_arnsNon-Transit Gateway and Protected subnet ARNs
<a name="output_non_tgw_subnet_arns_by_set"></a> non_tgw_subnet_arns_by_setn/a
<a name="output_non_tgw_subnet_arns_by_subnetset"></a> non_tgw_subnet_arns_by_subnetsetn/a
<a name="output_private_route_tables"></a> private_route_tablesn/a
<a name="output_private_subnet_ids"></a> private_subnet_idsn/a
<a name="output_protected_subnet_ids"></a> protected_subnet_idsn/a
<a name="output_public_subnet_ids"></a> public_subnet_idsn/a
<a name="output_tgw_subnet_ids"></a> tgw_subnet_idsTransit Gateway subnet IDs
<a name="output_vpc_flow_log"></a> vpc_flow_logn/a
<a name="output_vpc_id"></a> vpc_idVPC ID
<!-- END_TF_DOCS -->