Giter VIP home page Giter VIP logo

terraform-aws-vm's Introduction

terraform-aws-vm

This Terraform configuration provisions AWS ec2 instances.

Requirements

Name Version
terraform >= 1.0

Providers

Name Version
aws 3.66.0
hcp 0.20.0
terraform n/a

Modules

No modules.

Resources

Name Type
aws_instance.instance resource
aws_ami.ami data source
hcp_packer_image.image data source
hcp_packer_iteration.iteration data source
terraform_remote_state.foundation data source
terraform_remote_state.sg data source

Inputs

Name Description Type Default Required
ami_filter AMI filter - e.g. ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-* string "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*" no
ami_id Optional AMI ID - use this if not blank string, otherwise use AMI per ami_filter and ami_owner. string "" no
ami_owner Owner of AMI - e.g. 099720109477 string "099720109477" no
foundation_workspace Name of workspace from which to get information on VPC in which to provision resources. string n/a yes
global_tags Default tags to apply to AWS resources. Meant to be defined via Variable Sets in your Terraform Cloud organization, but can be overriden if needed. map(string) {} no
hcp_packer_image_bucket_name The slug of the HCP Packer Registry image bucket to pull from. string "" no
hcp_packer_image_channel The channel that points to the version of the image you want. string "" no
instance_count Number of instances to provision. number 1 no
instance_type Instance size. string "t2.medium" no
local_tags Local tags to apply to cloud resources. map(string) {} no
org Terraform Cloud/Enterprise Organization Name string n/a yes
owner_cidr_blocks CIDR blocks that will be allowed to access our instance. list(string)
[
"0.0.0.0/0"
]
no
prefix Naming prefix string n/a yes
region AWS Region in which to deploy our instance. string "us-east-1" no
root_volume_size Root volume size in GB. number 50 no
root_volume_type Root volume type. string "gp2" no
sg_workspace Name of workspace from which to get foundational security groups to use. string n/a yes
ssh_key_name Name of SSH key in AWS region. string n/a yes

Outputs

Name Description
private_ips n/a
public_ips n/a

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.