daml/infra/main.tf
Florian Klink 56c322c982 infra: add some docs / comments (#796)
* infra: document google_storage_bucket_iam_member resources

* infra: document nix-cache-info file

* infra: document who's maintaining the DA ext certificate

* infra: README: mention azure pipeline agents

* infra: README: IT -> DA IT
2019-05-01 15:54:09 +00:00

39 lines
941 B
HCL

# Copyright (c) 2019 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
terraform {
backend "gcs" {
bucket = "da-dev-gcp-daml-language-tfstate"
prefix = "daml"
}
}
provider "google" {
project = "da-dev-gcp-daml-language"
region = "us-east4"
}
provider "google-beta" {
project = "da-dev-gcp-daml-language"
region = "us-east4"
}
locals {
labels = {
cost-allocation = "daml-language"
host-group = "buildpipeline"
infra-owner = "daml-language"
managed = "true"
# default the target name to be the name of the folder
target = "${basename(path.module)}"
}
project = "da-dev-gcp-daml-language"
region = "us-east4"
zone = "us-east4-a"
// maintained by DA security
ssl_certificate = "https://www.googleapis.com/compute/v1/projects/da-dev-gcp-daml-language/global/sslCertificates/da-ext-wildcard"
}