timelery / terraform-aws-ec2appexample

Simple example showing a deployment of EC2 instance with user data, with variables and outputs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-aws-ec2appexample

Simple example showing a deployment of EC2 instance with user data, with variables and outputs.

It also shows how to retrieve output from external workspace hosted by Terraform Enterprise. If you are running this code from your local machine, you will need to set the environment variable ATLAS_TOKEN, with a user token from Terraform Enterprise.

AWS authentication

For complete information on the options available, check: https://www.terraform.io/docs/providers/aws/index.html

Or you can simply set the following environment variables:

$ export AWS_ACCESS_KEY_ID="anaccesskey"
$ export AWS_SECRET_ACCESS_KEY="asecretkey"
$ export AWS_DEFAULT_REGION="us-west-2"

AWS Workflow Example

This repository is meant to be can be part of a larger AWS workflow example: LINK

About

Simple example showing a deployment of EC2 instance with user data, with variables and outputs.


Languages

Language:HCL 82.2%Language:Shell 13.5%Language:Smarty 4.3%