Coder Social home page Coder Social logo

dawright22 / terraform-aws-tfc_workspace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aws-quickstart/terraform-aws-tfc_workspace

0.0 0.0 0.0 50 KB

aws-quickstart terraform module (workspace creation)

License: Apache License 2.0

HCL 100.00%

terraform-aws-tfc_workspace's Introduction

Terraform Cloud Workspace

This module configures your Terraform organization and workspace.
Authors: David Wright ([email protected]) and Tony Vattahil ([email protected])

Install Terraform

To deploy this module, do the following: Install Terraform. (See Install Terraform for a tutorial.)

Sign up for Terraform Cloud

Sign up and log into Terraform Cloud. (There is a free tier available.)

Configure Terraform Cloud API Access

Generate terraform cloud token

terraform login

Export TERRAFORM_CONFIG

export TERRAFORM_CONFIG="$HOME/.terraform.d/credentials.tfrc.json"

Configure your tfvars file

Example tfvars file (replace *** with AKEY and SKEY)

AWS_SECRET_ACCESS_KEY = "*****************"

AWS_ACCESS_KEY_ID = "*****************"

AWS_SESSION_TOKEN = "*****************"

Note: STS-based credentials are optional but highly recommended.

!!!!CAUTION!!!!: Make sure your credential are secured ourside version control (and follow secrets mangement bestpractices)

Deploy this module (instruction for linux or mac)

Clone the repo (requires git client)

!!!!WARNING!!!!: Run these commands in order:

Clone the aws-quickstart/terraform-tfc_workspace repository.

git clone https://github.com/aws-quickstart/terraform-aws-tfc_workspace.git

Change directory to the root directory.

cd terraform-aws-tfc_workspace

Initalize terrafrom module

terraform init

Run terraform apply with tfvars file

terraform apply -var-file="$HOME/.aws/terraform.tfvars"

terraform-aws-tfc_workspace's People

Contributors

tonynv avatar censullo avatar straubt1 avatar andrew-glenn avatar jbayer 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.