Giter Site home page Giter Site logo

terraform's Introduction

Terraform with AWS

Terraform is an open-source infrastructure-as-code software tool created by HashiCorp. With Terraform we can automate Infrastructure to provision and manage resources in any cloud or data center.

https://www.terraform.io/

https://developer.hashicorp.com/terraform?product_intent=terraform

For this project, an IAM User was created with Administrator access

IAM

On Visual Studio code there was the need to install the AWS Toolkits and Terraform extension, and thereafter login with the already generated Access key ID & Secret access key on the Credentials profile command palette.

Which generated various AWS resource Templates in our selected Region.

Terraform

AWS Providers

A provider is basically used by Terraform to interface with the Application Programming Interface (API) of whatsoever infrastructure you are trying to build which is available to the cloud service provider. ## https://registry.terraform.io/providers/hashicorp/aws/latest/docs

Terraform init

Running the terraform init within the working directory, terraform checks the provider's file installs required hashicorp files and then creates Two(2) extra files .terraform.lock.hcl ensures that the selected version is frozen, Which helps to avoid issues in cases of upgrade and a .exe file.

Terraform init

Terraform plan

After creating a main.tf file, with the specified resources, in this instance a VPC, running terraform plan creates a state file.

terraform plan

Terraform apply

This creates the specified resource.

terraform apply

VPC Resource created on AWS GUI

VPCfrmTerraform

terraform's People

Contributors

benn1440 avatar

Watchers

 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.