pivotal-cf/terraforming-aws

Name: terraforming-aws

Owner: Pivotal Cloud Foundry

Description: use terraform, deploy yourself a pcf

Created: 2016-10-06 19:07:18.0

Updated: 2018-05-23 18:58:29.0

Pushed: 2018-05-23 20:38:00.0

Homepage:

Size: 104

Language: HCL

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

How Does One Use This?

What Does This Do?

A booted ops-manager plus a whole BOATLOAD of other goodies, including:

Looking to setup a different IAAS

We have have other terraform templates to help you!

This list will be updated when more infrastructures come along.

Prerequisites
 update
 install terraform
AWS Permissions
Notes

You can choose whether you would like an RDS or not. By default we have rds_instance_count set to 0 but setting it to 1 will deploy an RDS.

RDS instances take FOREVER to deploy, keep that in mind.

Var File

Copy the stub content below into a file called terraform.tfvars and put it in the root of this project. These vars will be used when you run terraform apply. You should fill in the stub values with the correct content.

name           = "some-environment-name"
ss_key         = "access-key-id"
et_key         = "secret-access-key"
on             = "us-west-1"
lability_zones = ["us-west-1a", "us-west-1c"]
manager_ami    = "ami-4f291f2f"
instance_count = 1
suffix         = "example.com"
cidr           = "10.0.0.0/16"

cert = <<EOF
-BEGIN CERTIFICATE-----
 cert
-END CERTIFICATE-----


private_key = <<EOF
-BEGIN RSA PRIVATE KEY-----
 cert private key
-END RSA PRIVATE KEY-----


               = {
Team = "Dev"
Project = "WebApp3"

Variables
Ops Manager (optional)
RDS (optional)
Isolation Segments (optional)
Running

Note: please make sure you have created the terraform.tfvars file above as mentioned.

Standing up environment
aform init
aform plan -out=plan
aform apply plan
Tearing down environment
aform destroy

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.