-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathterraform.tf
32 lines (26 loc) · 793 Bytes
/
terraform.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
terraform {
required_version = ">= 0.11.7"
# backend "s3" {
# bucket = "terraform.${var.project}.${var.company}.${var.environment}"
# key = "tfstate"
# region = "${var.backend_s3_region}"
# encrypt = true
# dynamodb_table = ""
# }
}
# resource "aws_s3_bucket" "terraform-state-store" {
# bucket = "terraform.${lower(var.project)}.${lower(var.company)}.${lower(var.environment)}"
# acl = "private"
# region = "${var.backend_s3_region}"
# versioning {
# enabled = true
# }
# force_destroy = true
# tags {
# owner = "terraform"
# organization = "${var.organization}"
# env = "${var.environment}"
# project = "${var.project}"
# Name = "terraform.${lower(var.project)}.${lower(var.company)}.${lower(var.environment)}"
# }
# }