Skip to content

Commit

Permalink
Pin to glue releases
Browse files Browse the repository at this point in the history
set `netnum` to avoid the breaking change.

Signed-off-by: Matt Moore <[email protected]>
  • Loading branch information
mattmoor committed Jan 25, 2024
1 parent 2dce682 commit 8ae2f2c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion iac/gclb.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ resource "google_dns_managed_zone" "top-level-zone" {

// Put the above domain in front of our regional services.
module "serverless-gclb" {
source = "github.com/chainguard-dev/terraform-infra-common//modules/serverless-gclb"
source = "chainguard-dev/common/infra//modules/serverless-gclb"
version = "0.3.0"

name = var.name
project_id = var.project_id
Expand Down
13 changes: 8 additions & 5 deletions iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ provider "ko" { docker_repo = "gcr.io/${var.project_id}" }
// Create a network with several regional subnets
module "networking" {
source = "chainguard-dev/common/infra//modules/networking"
source = "chainguard-dev/common/infra//modules/networking"
version = "0.3.0"

name = var.name
project_id = var.project_id
regions = var.regions
name = var.name
project_id = var.project_id
regions = var.regions
netnum_offset = 1
}

// Create a keyring to hold our OIDC keys.
Expand Down Expand Up @@ -79,7 +81,8 @@ resource "google_service_account" "octo-sts" {
}

module "sts-service" {
source = "chainguard-dev/common/infra//modules/regional-go-service"
source = "chainguard-dev/common/infra//modules/regional-go-service"
version = "0.3.0"

project_id = var.project_id
name = var.name
Expand Down

0 comments on commit 8ae2f2c

Please sign in to comment.