Skip to content

Commit

Permalink
WebApp - Actualizo configuración de Terraform para que use bucket exi…
Browse files Browse the repository at this point in the history
…stente
  • Loading branch information
Dario Di Gulio committed Dec 26, 2023
1 parent 6c96ac3 commit 827ac5c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ provider "aws" {
region = "sa-east-1"
}

resource "aws_s3_bucket" "webapp_bucket" {
data "aws_s3_bucket" "webapp_bucket" {
bucket = "estelarte-web"
}

resource "aws_s3_bucket" "webapp_bucket" {
bucket = data.aws_s3_bucket.webapp_bucket.bucket
}

0 comments on commit 827ac5c

Please sign in to comment.