Code Monkey home page Code Monkey logo

terraform-beginner-bootcamp-2023's Introduction

terraform-beginner-bootcamp-2023's People

Contributors

jimmysmits avatar

Stargazers

 avatar

Watchers

 avatar

terraform-beginner-bootcamp-2023's Issues

Terraform random bucket name

  • explore the TF registry
  • install the TF random provider
  • run terraform init
  • generate a random bucket name
  • output the random bucket name to outputs

Terraform Cloud Backend

  • Configure Terraform Cloud Backend
  • Workaround for Terraform Login
  • Migrate our local state to remote state
  • Create a new project and workspace in Terraform Cloud

Project Root Env Var

We ar going to set an environment variable for PROJECT_ROOT that we can reference in our bash scripts

Setup S3 static website hosting

  • Configure our bucket for S3 static website hosting
  • Upload an index.html file
  • Upload an error.html file
  • Update our outputs for static website hosting URL

CDN implementation

  • Set up a CloudFront distribution
  • Set up CloudFront origin access controls
  • Set up a bucket policy

refactor aws cli

  • Refactor AWS CLI into bash script
  • Provide env var examples for AWS CLI requirements
  • Set our env vars for AWS using gp env

Generate TFRC

  • Create a bash script to create to create tfrc file
  • Create new token for 30 days in Terraform cloud

Refactor Terraform CLI

There is an issue with installing the Terraform CLI
We need to go and make sure it automatatically installs without user input

Simple S3 bucket

  • Define an S3 bucket in Terraform
  • We are going to use the random resource string for the name
  • Install the AWS Terraform Provider
  • Configure the AWS Terraform Provider
  • Terraform apply and Terraform destroy

Configuration drift

  • use terraform import
  • purposely cause configuration drift via clickops and correct state

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.