Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Terraform Settings Block
terraform {

cloud {
organization = "BarrantesOrg"
workspaces {
name = "Terraform-Udemy"
}
}
required_providers {
aws = {
source = "hashicorp/aws"
Expand All @@ -11,11 +18,11 @@ terraform {
# Provider Block
provider "aws" {
profile = "default" # AWS Credentials Profile configured on your local desktop terminal $HOME/.aws/credentials
region = "us-east-1"
region = "us-west-1"
}

# Resource Block
resource "aws_instance" "ec2demo" {
ami = "ami-0533f2ba8a1995cf9" # Amazon Linux in us-east-1, update as per your region
ami = "ami-0c716727a318bbe42" # Redhat us-west-1, update as per your region
instance_type = "t2.micro"
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading