mod_reuse
chiraag-kakar/mod_reuse/aws
This module helps in building reusable infrastructure in AWS by aggregating vpc, subnets, route, gateway, instances, security groups with ease.
This module helps in building reusable infrastructure in AWS by aggregating vpc, subnets, route, gateway, instances, security groups with ease. Authentication : Note : Make sure you have created the following "provider.tf" and include the following values (If the resources are accessed by assuming role) `` provider "aws" { region = "ap-southeast-1" access_key = "XXXXXXXXXXXXXXXXXXXX" secret_key = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" assume_role { role_arn = "arn:aws:iam::XXXXXXXXXXXX:role/terraform" external_id = "role name" } } ` Example Usage : ` module "vpc" { # path to the module directory source = "./modules/vpc" #arguments optional for the module. default values are provided in module. if you need to provide values, please uncomment vars.tf file vpc_cidr_block = var.vpc_cidr_bl
| Name | Type | Description | Default |
|---|---|---|---|
| environment | string | environemnt where the resources are created. eg test/prod | required |
| environemnt_config_variable | map | key value pair containning all configuration for every environment | required |
| vpc_name | string | specify name for the vpc | "my-vpc" |
| public_subnet_cidr_block | string | specify cidr block for subnet | "10.0.0.0/24" |
| private_subnet_cidr_block | string | specify cidr block for subnet | "10.0.1.0/24" |
| destination_cidr_block | string | specify cidr block for destination | "0.0.0.0/0" |
| instance_tenancy | string | specify instance tenancy for the vpc | "default" |
| vpc_cidr_block | string | specify cidr block for the vpc | "10.0.0.0/16" |
vpc_security_group_idpublic_subnet_idprivate_subnet_idenvironemnt_config_variableAzure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,