From e204597c5150215de965bdca07ba4e83db5d4d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 28 May 2019 12:50:35 -0400 Subject: [PATCH] use s3 as bckend MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- main.tf | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/main.tf b/main.tf index 7df8ddf..e4d12fd 100644 --- a/main.tf +++ b/main.tf @@ -6,21 +6,16 @@ provider "aws" { secret_key = "${var.aws_secret_key}" } -//provider "gandi" { -// key = "" -// sharing_id = "" -//} - /* DATA -----------------------------------------*/ -//terraform { -// backend "s3" { -// bucket = "dapps-terraform-state" -// key = "infra-dapps" -// region = "us-east-2" -// encrypt = true -// } -//} +terraform { + backend "s3" { + bucket = "dapps-terraform-state" + key = "infra-dapps" + region = "us-east-1" + encrypt = true + } +} /* INVENTORY ------------------------------------*/