Skip to content

Commit

Permalink
remove remote backend
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Aug 11, 2024
1 parent db384ff commit 162b3b7
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 20 deletions.
34 changes: 14 additions & 20 deletions main.tf
Original file line number Diff line number Diff line change
@@ -1,23 +1,17 @@
terraform {
backend "remote" {
# The name of your Terraform Cloud organization.
organization = "FiapPostech-SOAT"

# The name of the Terraform Cloud workspace to store Terraform state files in.
workspaces {
name = "bmb-infra"
}
}

required_providers {
aws = {
source = "hashicorp/aws"
version = "5.62.0"
}
}

required_version = ">= 1.2.0"
}
# terraform {
# backend "remote" {
# organization = "FiapPostech-SOAT"
# workspaces {
# name = "bmb-infra"
# }
# }
# }

# provider "aws" {
# profile = var.profile
# region = "us-east-1"
# alias = "us-east-1"
# }

module "vpc" {
source = "./modules/vpc"
Expand Down
10 changes: 10 additions & 0 deletions providers.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "5.62.0"
}
}
required_version = ">= 1.2.0"
}

provider "aws" {
profile = var.profile
region = var.region
Expand Down

0 comments on commit 162b3b7

Please sign in to comment.