use s3 as bckend

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-05-28 12:50:35 -04:00
parent 07b9389f48
commit e204597c51
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 8 additions and 13 deletions

21
main.tf
View File

@ -6,21 +6,16 @@ provider "aws" {
secret_key = "${var.aws_secret_key}"
}
//provider "gandi" {
// key = "<the API key>"
// sharing_id = "<the 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 ------------------------------------*/