mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-10 10:46:11 +03:00
c762d491ea
There is no simple way to configure GCS to serve the desired security headers, so instead the script will keep updating the existing s3 bucket. Consequent changes: - Add aws cli tool to dev-env - Remove docs bucket from Terraform
1.1 KiB
1.1 KiB
A Google Storage Bucket + CDN configuration
This modules contains essentially two things:
- A GCS bucket to store objects into
- A load-balancer connected to it
It also makes a few assumptions:
- A service account will be created to write into the bucket
- All objects are meant to be publicly-readable
Module config
> terraform-docs md .
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
cache_retention_days | The number of days to keep the objects around | string | n/a | yes |
labels | Labels to apply on all the resources | map | <map> |
no |
name | Name prefix for all the resources | string | n/a | yes |
project | GCP project name | string | n/a | yes |
region | GCP region in which to create the resources | string | n/a | yes |
ssl_certificate | A reference to the SSL certificate, google managed or not | string | n/a | yes |
Outputs
Name | Description |
---|---|
bucket_name | Name of the GCS bucket that will receive the objects. |
external_ip | The external IP assigned to the global fowarding rule. |