Skip to content

Ang3l1nux/build_blocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Blocks

Repo Dedicado aos codigos de Terraform:

Texto alternativo opcional se a imagem não carregar


by Angelo Moreira - SP - BRASIL - MAIO 2019 - V1.0

Passo a passo:


1 - Instalação em Linux

wget https://releases.hashicorp.com/terraform/0.12.3/terraform_0.12.3_linux_amd64.zip
ou https://www.terraform.io/downloads.html e efetuar o download
unzip terraform_0.12.3_linux_amd64.zip
cp ou mv terraform /bin
terraform

install


2 - Iniciando o Terraform

  • mkdir terraform
  • cd terraform
  • touch provider.tf
  • vim provider.tf

colar:

provider "aws" {
    access_key = "${var.AWS_ACCESS_KEY}"
    secret_key = "${var.AWS_SECRET_KEY}"
    region = "${var.AWS_REGION}"
}

salve o arquivo

  • terraform init

init


3 - Projeto


4 - CLI.
TF_LOG=DEBUG OCI_GO_SDK_DEBUG=v terraform plan.
TF_LOG=DEBUG terraform apply.
Terraform workspace [list, new, select].


About

Repo dedicado a codigos terraform by Angelo Moreira

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages