зеркало из https://github.com/mozilla/hubs-ops.git
Move SAM bucket to us-east-1
This commit is contained in:
Родитель
5569e8c12c
Коммит
18ca946010
|
@ -1088,11 +1088,13 @@ 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"
|
||||
acl = "public-read"
|
||||
}
|
||||
|
||||
resource "aws_s3_bucket_policy" "sam-bucket-policy" {
|
||||
bucket = "${aws_s3_bucket.polycosm-sam-bucket.id}"
|
||||
provider = "aws.east"
|
||||
|
||||
policy = <<POLICY
|
||||
{
|
||||
|
|
|
@ -43,5 +43,5 @@ output "polycosm_sam_bucket_id" {
|
|||
}
|
||||
|
||||
output "polycosm_sam_bucket_region" {
|
||||
value ="${var.shared["region"]}"
|
||||
value ="us-east-1"
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче