Skip to content

Commit

Permalink
pin Terraform plugin versions (digital-asset#4519)
Browse files Browse the repository at this point in the history
We're currently depending on a floating "latest", which is often a bad
idea. Today my machine decided to upgrade the google plugin,w hich is no
specifying some new fields for the GCS objects, and therefore `terraform
plan` doe snot look clean anymore, even though there has been no change
to the terraform files (nor to the infrastructure).

This PR aims to make our Terraform setup more reproducible by pinning
Terraform plugin versions. It's also a way to track the application of
the "new" Terraform setup, as it is technically a standard change
(though hopefully a very safe one).

CHANGELOG_BEGIN
CHANGELOG_END
  • Loading branch information
garyverhaegen-da authored Feb 14, 2020
1 parent 1fce415 commit c8e6486
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,21 @@ terraform {
provider "google" {
project = "da-dev-gcp-daml-language"
region = "us-east4"
version = "3.5"
}

provider "google-beta" {
project = "da-dev-gcp-daml-language"
region = "us-east4"
version = "3.5"
}

provider "secret" {
version = "1.1"
}

provider "template" {
version = "2.1.2"
}

data "google_project" "current" {
Expand Down

0 comments on commit c8e6486

Please sign in to comment.