Skip to content

Standard OPG AWS Network Module: Managed by opg-org-infra & Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/opg-terraform-aws-network

Repository files navigation

opg-terrafrom-aws-network

Standard OPG AWS Network Module: Managed by opg-org-infra & Terraform

Requirements

Name Version
terraform >=1.2.2
aws >= 5.5.0

Providers

Name Version
aws 5.5.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_log_group.flow_log resource
aws_default_network_acl.default resource
aws_default_security_group.this resource
aws_eip.nat resource
aws_flow_log.this resource
aws_iam_policy.vpc_flow_log_cloudwatch resource
aws_iam_role.vpc_flow_log_cloudwatch resource
aws_iam_role_policy_attachment.vpc_flow_log_cloudwatch resource
aws_internet_gateway.gw resource
aws_nat_gateway.gw resource
aws_route.application_nat_gateway resource
aws_route.public_internet_gateway resource
aws_route_table.application resource
aws_route_table.data resource
aws_route_table.public resource
aws_route_table_association.application resource
aws_route_table_association.data resource
aws_route_table_association.public resource
aws_subnet.application resource
aws_subnet.data resource
aws_subnet.public resource
aws_vpc.main resource
aws_vpc_dhcp_options.dns_resolver resource
aws_availability_zones.all data source
aws_caller_identity.current data source
aws_default_tags.default_tags data source
aws_iam_policy_document.flow_log_cloudwatch_assume_role data source
aws_iam_policy_document.vpc_flow_log_cloudwatch data source
aws_region.current data source

Inputs

Name Description Type Default Required
cidr n/a string "10.0.0.0/16" no
default_security_group_egress n/a list(map(string)) [] no
default_security_group_ingress n/a list(map(string)) [] no
default_security_group_name n/a string "default" no
dhcp_options_domain_name n/a string "" no
dhcp_options_domain_name_servers n/a list(string)
[
"AmazonProvidedDNS"
]
no
enable_dns_hostnames n/a bool false no
enable_dns_support n/a bool true no
flow_log_cloudwatch_log_group_kms_key_id n/a string null no
flow_log_cloudwatch_log_group_retention_in_days Number of days you want to retain log events. number null no
flow_log_log_format n/a string null no
flow_log_traffic_type The type of traffic to log. Values: ACCEPT, REJECT, ALL. string "ALL" no
instance_tenancy n/a string "default" no
map_public_ip_on_launch n/a bool false no
public_subnet_assign_ipv6_address_on_creation n/a bool false no

Outputs

Name Description
application_subnets n/a
data_subnets n/a
public_subnets n/a
vpc n/a

About

Standard OPG AWS Network Module: Managed by opg-org-infra & Terraform

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages