diff --git a/main.tf b/main.tf index a915aa3..cd2c2f8 100644 --- a/main.tf +++ b/main.tf @@ -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" diff --git a/providers.tf b/providers.tf index f15a188..d3462ad 100644 --- a/providers.tf +++ b/providers.tf @@ -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