Feature/packer jenkins (#31)

* packer jenkins update
This commit is contained in:
Edward Viaene
2020-03-17 21:21:40 +01:00
committed by GitHub
parent 50df73f39a
commit ef34e41349
10 changed files with 99 additions and 37 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
resource "aws_s3_bucket" "terraform-state" {
bucket = "terraform-state-a2b621f"
bucket = "terraform-state-${random_string.random.result}"
acl = "private"
tags = {
@@ -7,3 +7,9 @@ resource "aws_s3_bucket" "terraform-state" {
}
}
resource "random_string" "random" {
length = 8
special = false
upper = false
}