VT
Size: a a a
VT
VP
IM
IM
IM
VT
FB
SG
VP
FK
FB
i
N
MV
MV
resource "aws_s3_bucket" "users-profile-bucket-staging" {
bucket = "gokada-users-profile-staging"
acl = "public-read"
policy = "${file("users-profile_bucket_policy.json")}"
tags {
project = "gokada"
environment = "staging"
}
website {
index_document = "index.html"
}
cors_rule {
allowed_headers = ["*"]
allowed_methods = ["PUT"]
allowed_origins = ["*"]
}
}
MV
MV
Terraform will perform the following actions:
~ aws_s3_bucket.users-profile-bucket-staging
cors_rule.#: "0" => "1"
cors_rule.0.allowed_headers.#: "0" => "1"
cors_rule.0.allowed_headers.0: "" => "*"
cors_rule.0.allowed_methods.#: "0" => "1"
cors_rule.0.allowed_methods.0: "" => "PUT"
cors_rule.0.allowed_origins.#: "0" => "1"
cors_rule.0.allowed_origins.0: "" => "*"
policy: "" => "{\n \"Version\": \"2008-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"AllowPublicRead\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"*\"\n },\n \"Action\": \"s3:GetObject\",\n \"Resource\": \"arn:aws:s3:::gokada-users-profile/*\"\n }\n ]\n}\n"
website.#: "0" => "1"
website.0.index_document: "" => "index.html"
FB
FB
🇷