We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b180e73 commit 090d4f7Copy full SHA for 090d4f7
terraform/docs-rs/web-server.tf
@@ -18,10 +18,11 @@ module "web" {
18
ephemeral_storage_gb = 40
19
20
environment = {
21
- DOCSRS_PREFIX = "/tmp"
22
- DOCSRS_STORAGE_BACKEND = "s3"
23
- DOCSRS_LOG = "docs_rs=debug,rustwide=info"
24
- RUST_BACKTRACE = "1"
+ DOCSRS_PREFIX = "/tmp"
+ DOCSRS_STORAGE_BACKEND = "s3"
+ DOCSRS_LOG = "docs_rs=debug,rustwide=info"
+ RUST_BACKTRACE = "1"
25
+ DOCSRS_STATIC_CLOUDFRONT_ID = "${aws_cloudfront_distribution.static.id}"
26
}
27
28
secrets = {
@@ -57,6 +58,7 @@ resource "aws_iam_role_policy" "web" {
57
58
Effect = "Allow"
59
Action = [
60
"s3:PutObject",
61
+ "s3:GetObjectTagging",
62
"s3:PutObjectTagging",
63
"s3:GetObject",
64
"s3:PutObjectAcl",
0 commit comments