parent | title | nav_exclude |
---|---|---|
Infrastructure Catalog |
AWS Environment |
false |
The environment module sets up common infrastrcuture like VPCs and network subnets. The environment
output
from this module is designed to be passed easily to downstream modules, streamlining the reuse of these core components.
No requirements.
No provider.
The following input variables are required:
Description: Standard name_prefix
module input. (Prefix counts towards 64-character max length for certain resource types.)
Type: string
Description: Standard resource_tags
module input.
Type: map(string)
Description: Path to a valid AWS Credentials file. Used when initializing the AWS provider.
Type: string
The following input variables are optional (have default values):
Description: Standard environment
module input. (Ignored for the environment
module.)
Type:
object({
vpc_id = string
aws_region = string
public_subnets = list(string)
private_subnets = list(string)
})
Default: null
Description: Optional, used for multi-region deployments. Overrides the contextual AWS region with the region code provided.
Type: any
Default: null
Description: As a workaround for unsupported 'count' feature in terraform modules, this switch can be used to disable the module entirely.
Type: bool
Default: false
Description: The name of the AWS profile to use. Optional unless set at the main AWS provider level, in which case it is required.
Type: string
Default: null
Description: Optional. The CIDR block to use for the VPC network.
Type: string
Default: "10.0.0.0/16"
Description: Optional. The CIDR blocks to use for the subnets. The list should have the 2 public subnet cidrs first, followed by the 2 private subnet cidrs. If omitted, the VPC CIDR block will be split evenly into 4 equally-sized subnets.
Type: list(string)
Default: null
Description: Optional. Specifies if an Internet Gateway should be associated to the VPC. An Internet Gateway is required to receive any type of incoming traffic over the internet.
Note:
- Most modules also supportthe variables
admin_cidr
(associated withadmin_ports
) andapp_cidr
(associated withapp_ports
). - The
admin_cidr
andapp_cidr
variables can be leveraged to limit internet traffic only from specific sources.
Type: bool
Default: true
The following outputs are exported:
Description: Summary of resources created by this module.
Description: The environment
object to be passed as a standard input to other Infrastructure Catalog modules.
Description: Path to AWS credentials file for the project.
Description: True if running on a Windows machine, otherwise False.
Description: Path to the admin user's home directory.
Description: The ID of the route table for public subnets.
Description: The ID of the route table for private subnets.
Source code for this module is available using the links below.
NOTE: This documentation was auto-generated using
terraform-docs
and s-infra
from slalom.dataops
.
Please do not attempt to manually update this file.