mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
cfae2d88f5
* fixup terraform config Two changes have happened recently that have invalidated the current Terraform files: 1. The Terraform version has gone through a major, incompatible upgrade (#8190); the required updates for this are reflected in the first commit of this PR. 2. The certificate used to serve [Hoogle](https://hoogle.daml.com) was about to expire, so Edward created a new one and updated the config directly. The second commit in this PR updates the Terraform config to match that new, already-in-prod setting. Note: This PR applies cleanly, as there are no resulting changes in Terraform's perception of the target state from 1, and the change from 2 has already been applied through other channels. CHANGELOG_BEGIN CHANGELOG_END * update hoogle cert |
||
---|---|---|
.. | ||
google_compute.tf | ||
google_storage.tf | ||
outputs.tf | ||
README.md | ||
variables.tf |
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. |