Giter Club home page Giter Club logo

terragrunt-aws-generic-ec2's Introduction

terragrunt-aws-generic-ec2

Build Status semantic-release

Description

Build one or more AWS ec2 instance using terragrunt.

Requirements

No requirements.

Providers

Name Version
aws n/a
random n/a
template n/a

Inputs

Name Description Type Default Required
aws_region AWS region to create resource in string n/a yes
bastion_sg Bastion security group (required) string false no
bastion_source_sg Bastion source security group id to allow ssh access to host string "" no
cloudwatch_action_enable Disable or enable action for cloudwatch alarm bool n/a yes
cloudwatch_alert_to_enable List of cloudwatch alert type list(string)
[
"swap",
"memory",
"disk",
"cpu"
]
no
cloudwatch_sns_topic_arn The SNS topic ARN to send cloudwatch alarm string n/a yes
custom_tags Custom tags to add to all the resource map(string) {} no
disable_ec2_api_termination Disable api termination for ec2 instance. bool false no
ec2_ami_id AMI id to use to create ec2 instances (default to ubuntu) string "" no
ec2_instance_count Count of ec2 instance to create number 1 no
ec2_instance_type ec2 instance type to use. string "t3.small" no
ec2_key_name ec2 key name (must exist) string n/a yes
ec2_subnet_ids List of subnet ids where ec2 will be created. list(string) n/a yes
ec2_tags Use this variable to add another extra tags to instance in your terragrunt hcl any "" no
enable_bastion Enable or disable bastion for ssh access bool false no
enable_ec2_public_ip Associate public ip to the ec2 instance bool false no
enable_eip Enable elastic ip creation (static ip) bool false no
enable_http Enable or disable http / https bool false no
enable_route53 Enable route53 dns creation for your server bool true no
enable_ssh Enable or disable ssh access bool false no
env n/a any n/a yes
identifier A unique string to describe the role of the resource. This can be for example, front, wp, admin). This is used in the name string n/a yes
instance_profile Instance profile name to attache to the EC2 string "" no
project Project code will be use to name resource. string "infra" no
route53_zone_id Route53 zone id if dns creation is enable (see enable_route53) string n/a yes
security_group Security group parameters any {} no
security_group_bastion Bastion security group ID to allow ssh access to host string "" no
short_env Use to shorten environement in name. Some limit apply sometinmes on res name. map(string)
{
"development": "dev",
"integration": "int",
"preprod": "pprod",
"preproduction": "pprod",
"production": "prod",
"staging": "stag",
"uat": "uat"
}
no
ssh_cidr_blocks Specify cidr block for ssh access to host list(string)
[
"0.0.0.0/0"
]
no
vpc_id VPC id to launch the resource in string n/a yes

Outputs

Name Description
availability_zone EC2 availability_zone as a list
dns_public_ip n/a
ec2_eip_public_ip n/a
ec2_private_dns n/a
ec2_private_ip n/a
ec2_public_dns n/a
ec2_public_ip n/a
instance_count EC2 instance count
instance_ids EC2 instance id as a list
security_group_id Security Group id attach to the instance(s)

terragrunt-aws-generic-ec2's People

Watchers

James Cloos avatar Alban avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.