Skip to content

jjbos/modularization-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Modularization in Terraform - part 2: managing exceptions

The code in this project is part of an example as described in https://stories.schubergphilis.com/project-modularization-in-terraform-part-2-managing-exceptions-cecb4ecd7b81

update

Once you have updated this repository create a new release. You can then refer to the new version from the application project.

To update the part below automatically, use Terraform Docs: https://github.com/terraform-docs/terraform-docs

To update the documentation:

terraform-docs markdown table --output-file path-to-project\README.md --output-mode inject path-to-project

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

Name Source Version
asg_app git::https://github.com/terraform-aws-modules/terraform-aws-autoscaling.git v6.5.3
nlb_app git@github.com:jjbos/modularization-nlb.git v1.0.0

Resources

Name Type
aws_security_group.sgp_app resource
aws_security_group_rule.sgr_app_ext_ingress resource
aws_ami.al2_ami data source
aws_subnet.aws_private_subnet data source
aws_subnets.aws_private_subnets data source
aws_subnets.aws_public_subnets data source
aws_vpc.vpc data source

Inputs

Name Description Type Default Required
app_name Set the application name string n/a yes
asg_app_desired_cappacity Set the desired number of app instances to create in autoscaling group number 1 no
asg_app_max_size Set the maximum number of app instances to create in autoscaling group number 1 no
asg_app_min_size Set the minimum number of app instances to create in autoscaling group number 1 no
count_app_instances Set the number of app instances to create number 1 no
ec2_type_app Define the instance type to use string null no
environment Define which environment to use string n/a yes
external_ip Set your external IP, use default 0.0.0.0/0 for access from everywhere string "0.0.0.0/0" no
override_cluster_resources Defines if cluster resources should be created bool false no

Outputs

No outputs.