Awesome
Modernisation Platform Terraform Member VPC Module
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
Name | Version |
---|---|
<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
Name | Version |
---|---|
<a name="provider_aws"></a> aws | ~> 5.0 |
<a name="provider_random"></a> random | ~> 3.4 |
Modules
No modules.
Resources
Name | Type |
---|---|
aws_cloudwatch_log_group.default | resource |
aws_default_security_group.default | resource |
aws_flow_log.cloudwatch | resource |
aws_flow_log.s3 | resource |
aws_internet_gateway.default | resource |
aws_route.public_internet_gateway | resource |
aws_route.transit_gateway | resource |
aws_route_table.protected | resource |
aws_route_table.route_tables | resource |
aws_route_table_association.protected | resource |
aws_route_table_association.route_table_associations | resource |
aws_security_group.endpoints | resource |
aws_security_group_rule.endpoints_ingress_1 | resource |
aws_security_group_rule.endpoints_ingress_2 | resource |
aws_security_group_rule.endpoints_ingress_3 | resource |
aws_security_group_rule.endpoints_ingress_4 | resource |
aws_subnet.protected | resource |
aws_subnet.subnets | resource |
aws_vpc.vpc | resource |
aws_vpc_endpoint.ssm_interfaces | resource |
aws_vpc_endpoint.ssm_s3 | resource |
aws_vpc_ipv4_cidr_block_association.subnet_sets | resource |
random_id.flow_logs | resource |
aws_availability_zones.available | data source |
aws_region.current | data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
<a name="input_additional_endpoints"></a> additional_endpoints | additional endpoints required for VPC | list(any) | n/a | yes |
<a name="input_flow_log_s3_destination_arn"></a> flow_log_s3_destination_arn | Optionally supply an ARN of an S3 bucket to send flow logs to | string | "" | no |
<a name="input_subnet_sets"></a> subnet_sets | n/a | map(any) | n/a | yes |
<a name="input_tags_common"></a> tags_common | MOJ required tags | map(string) | n/a | yes |
<a name="input_tags_prefix"></a> tags_prefix | prefix for name tags | string | n/a | yes |
<a name="input_transit_gateway_id"></a> transit_gateway_id | tgw ID | string | n/a | yes |
<a name="input_vpc_flow_log_iam_role"></a> vpc_flow_log_iam_role | VPC Flow Log IAM role ARN for VPC Flow Logs to CloudWatch | string | n/a | yes |
Outputs
Name | Description |
---|---|
<a name="output_data_subnet_ids"></a> data_subnet_ids | n/a |
<a name="output_expanded_worker_subnets_assocation"></a> expanded_worker_subnets_assocation | n/a |
<a name="output_expanded_worker_subnets_with_keys"></a> expanded_worker_subnets_with_keys | n/a |
<a name="output_non_tgw_subnet_arns"></a> non_tgw_subnet_arns | Non-Transit Gateway and Protected subnet ARNs |
<a name="output_non_tgw_subnet_arns_by_set"></a> non_tgw_subnet_arns_by_set | n/a |
<a name="output_non_tgw_subnet_arns_by_subnetset"></a> non_tgw_subnet_arns_by_subnetset | n/a |
<a name="output_private_route_tables"></a> private_route_tables | n/a |
<a name="output_private_subnet_ids"></a> private_subnet_ids | n/a |
<a name="output_protected_subnet_ids"></a> protected_subnet_ids | n/a |
<a name="output_public_subnet_ids"></a> public_subnet_ids | n/a |
<a name="output_tgw_subnet_ids"></a> tgw_subnet_ids | Transit Gateway subnet IDs |
<a name="output_vpc_flow_log"></a> vpc_flow_log | n/a |
<a name="output_vpc_id"></a> vpc_id | VPC ID |