зеркало из https://github.com/mozilla/hubs-ops.git
Use primary region for SAM bucket
This commit is contained in:
Родитель
18ca946010
Коммит
6098bdaeb9
|
@ -1087,14 +1087,12 @@ resource "aws_route53_record" "polycosm-assets-dns" {
|
|||
}
|
||||
|
||||
resource "aws_s3_bucket" "polycosm-sam-bucket" {
|
||||
bucket = "polycosm-sam-${var.shared["env"]}-${random_id.bucket-identifier.hex}"
|
||||
provider = "aws.east"
|
||||
bucket = "polycosm-samapps-${var.shared["env"]}-${random_id.bucket-identifier.hex}"
|
||||
acl = "public-read"
|
||||
}
|
||||
|
||||
resource "aws_s3_bucket_policy" "sam-bucket-policy" {
|
||||
bucket = "${aws_s3_bucket.polycosm-sam-bucket.id}"
|
||||
provider = "aws.east"
|
||||
|
||||
policy = <<POLICY
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче