Skip to content

Commit 2a5a60a

Browse files
committed
terraform fast module upgrade
1 parent 1d677be commit 2a5a60a

12 files changed

Lines changed: 32 additions & 31 deletions

gcp/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,10 @@ python tools/gce.py delete --instance [INSTANCE_NAME]
348348

349349
| Name | Version |
350350
|------|---------|
351-
| <a name="provider_google"></a> [google](#provider\_google) | 7.14.1 |
352-
| <a name="provider_local"></a> [local](#provider\_local) | 2.6.1 |
351+
| <a name="provider_google"></a> [google](#provider\_google) | 7.19.0 |
352+
| <a name="provider_local"></a> [local](#provider\_local) | 2.6.2 |
353353
| <a name="provider_null"></a> [null](#provider\_null) | 3.2.4 |
354+
| <a name="provider_time"></a> [time](#provider\_time) | 0.13.1 |
354355

355356
## Inputs
356357

@@ -370,5 +371,5 @@ python tools/gce.py delete --instance [INSTANCE_NAME]
370371

371372
| Name | Description |
372373
|------|-------------|
373-
| <a name="output_github_runners_manager_url"></a> [github\_runners\_manager\_url](#output\_github\_runners\_manager\_url) | Service URL of the GitHub Actions Runners manager (Cloud Run) https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/cloud-run-v2/README.md#outputs |
374+
| <a name="output_github_runners_manager_url"></a> [github\_runners\_manager\_url](#output\_github\_runners\_manager\_url) | Service URL of the GitHub Actions Runners manager (Cloud Run) https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/cloud-run-v2/README.md#outputs |
374375
<!-- END_TF_DOCS -->

gcp/artifact-registry.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Artifact Registry for storing the GitHub Actions Runners manager container image
2-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/artifact-registry/README.md
2+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/artifact-registry/README.md
33
module "artifact-registry-container" {
4-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/artifact-registry?ref=v49.1.0"
4+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/artifact-registry?ref=v53.0.0"
55
project_id = module.project.project_id
66
location = var.region
77
name = "container-github-runners-manager"

gcp/cloud-run.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ data "google_artifact_registry_docker_image" "container-image-github-runners-man
1111
}
1212

1313
# Deploy the GitHub Actions Runners manager service on Cloud Run
14-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/cloud-run-v2/README.md
14+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/cloud-run-v2/README.md
1515
module "cloud_run_github_runners_manager" {
16-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/cloud-run-v2?ref=v49.1.0"
16+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/cloud-run-v2?ref=v53.0.0"
1717
project_id = module.project.project_id
1818
name = "github-runners-manager-${local.region_shortnames[var.region]}"
1919
type = "SERVICE"

gcp/compute-vm.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ locals {
55
}
66

77
# Create instance templates for each GitHub Actions runner type
8-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/compute-vm/README.md
8+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/compute-vm/README.md
99
module "github-runners-vm-templates" {
10-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/compute-vm?ref=v49.1.0"
10+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/compute-vm?ref=v53.0.0"
1111
for_each = local.github_runners_types_map
1212

1313
project_id = module.project.project_id

gcp/gcs.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/gcs/README.md
1+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/gcs/README.md
22

33
# GCS bucket for storing Terraform state
44
module "gcs-github-runners-iac" {
5-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gcs?ref=v49.1.0"
5+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gcs?ref=v53.0.0"
66
project_id = module.project.project_id
77
prefix = module.project.project_id
88
name = "gh-iac-${local.region_shortnames[var.region]}"
@@ -13,7 +13,7 @@ module "gcs-github-runners-iac" {
1313

1414
# GCS bucket for Cloud Build source staging
1515
module "gcs-github-runners-cloud-build" {
16-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gcs?ref=v49.1.0"
16+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gcs?ref=v53.0.0"
1717
project_id = module.project.project_id
1818
prefix = module.project.project_id
1919
name = "build-${local.region_shortnames[var.region]}"
@@ -43,7 +43,7 @@ module "gcs-github-runners-cloud-build" {
4343

4444
# GCS bucket for storing the VM startup script
4545
module "gcs-github-runners-startup-script" {
46-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gcs?ref=v49.1.0"
46+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/gcs?ref=v53.0.0"
4747
project_id = module.project.project_id
4848
prefix = module.project.project_id
4949
name = "gh-start-${local.region_shortnames[var.region]}"

gcp/iam-service-accounts.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/iam-service-account/README.md
1+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/iam-service-account/README.md
22

33
# Service Account for GitHub Actions Runners (Compute Engine VMs)
44
module "service-account-compute-vm-github-runners" {
5-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/iam-service-account?ref=v49.1.0"
5+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/iam-service-account?ref=v53.0.0"
66
project_id = module.project.project_id
77
name = "github-runners"
88
display_name = "Compute VM - GitHub Actions Runners (Terraform managed)"
@@ -29,7 +29,7 @@ resource "time_sleep" "wait_for_service_account_compute_vm" {
2929

3030
# Service Account for the Runners Manager (Cloud Run)
3131
module "service-account-cloud-run-github-runners-manager" {
32-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/iam-service-account?ref=v49.1.0"
32+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/iam-service-account?ref=v53.0.0"
3333
project_id = module.project.project_id
3434
name = "github-runners-manager"
3535
display_name = "Cloud Run - GitHub Actions Runners manager (Terraform managed)"
@@ -52,7 +52,7 @@ resource "time_sleep" "wait_for_service_account_cloud_run" {
5252

5353
# Service Account for Cloud Build (Image Creation)
5454
module "service-account-cloud-build-github-runners" {
55-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/iam-service-account?ref=v49.1.0"
55+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/iam-service-account?ref=v53.0.0"
5656
project_id = module.project.project_id
5757
name = "cloud-build-github-runners"
5858
display_name = "Cloud Build - Create images (Terraform managed)"

gcp/net-cloudnat.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Cloud NAT for GitHub Actions Runners to access the internet
2-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/net-cloudnat/README.md
2+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/net-cloudnat/README.md
33
module "nat-github-runners" {
4-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-cloudnat?ref=v49.1.0"
4+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-cloudnat?ref=v53.0.0"
55
project_id = module.project.project_id
66
region = var.region
77
name = "cloudnat-github-runners-${local.region_shortnames[var.region]}"

gcp/net-vpc.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# VPC for GitHub Actions Runners
2-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/net-vpc/README.md
2+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/net-vpc/README.md
33
module "vpc-github-runners" {
4-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-vpc?ref=v49.1.0"
4+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-vpc?ref=v53.0.0"
55
project_id = module.project.project_id
66
name = "vpc-github-runners"
77
description = "VPC for GitHub Actions Runners (Terraform-managed)"
@@ -16,9 +16,9 @@ module "vpc-github-runners" {
1616
}
1717

1818
# Firewall rules for GitHub Actions Runners
19-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/v49.1.0/modules/net-vpc-firewall
19+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/v53.0.0/modules/net-vpc-firewall
2020
module "firewall-github-runners" {
21-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-vpc-firewall?ref=v49.1.0"
21+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/net-vpc-firewall?ref=v53.0.0"
2222
project_id = module.project.project_id
2323
network = module.vpc-github-runners.name
2424
default_rules_config = { disabled = true }

gcp/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Service URL of the GitHub Actions Runners manager (Cloud Run)
2-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/cloud-run-v2/README.md#outputs
2+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/cloud-run-v2/README.md#outputs
33
output "github_runners_manager_url" {
44
value = module.cloud_run_github_runners_manager.service_uri
55
}

gcp/project.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Configure the Google Cloud project and enable required APIs
2-
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v49.1.0/modules/project/README.md
2+
# https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/blob/v53.0.0/modules/project/README.md
33
module "project" {
4-
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/project?ref=v49.1.0"
4+
source = "git::https://github.com/GoogleCloudPlatform/cloud-foundation-fabric//modules/project?ref=v53.0.0"
55
name = var.project_id
66
project_reuse = {}
77
services = var.apis
8-
}
8+
}

0 commit comments

Comments
 (0)