Skip to content

Commit 079fab4

Browse files
authored
Merge branch 'main' into renovate/terraform-google-modules-network-google-10.x
2 parents 4d3d528 + 17d1507 commit 079fab4

File tree

13 files changed

+24
-17
lines changed

13 files changed

+24
-17
lines changed

.github/conventional-commit-lint.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022-2023 Google LLC
1+
# Copyright 2022-2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# NOTE: This file is automatically generated from:
16-
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/github
16+
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/main/infra/terraform/test-org/github
1717

1818
enabled: true
1919
always_check_pr_title: true

.github/trusted-contribution.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Google LLC
1+
# Copyright 2023-2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# NOTE: This file is automatically generated from:
16-
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/github
16+
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/main/infra/terraform/test-org/github
1717

1818
annotations:
1919
- type: comment

.github/workflows/lint.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Google LLC
1+
# Copyright 2023-2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,15 +13,15 @@
1313
# limitations under the License.
1414

1515
# NOTE: This file is automatically generated from values at:
16-
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/org/locals.tf
16+
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/main/infra/terraform/test-org/org/locals.tf
1717

1818
name: 'lint'
1919

2020
on:
2121
workflow_dispatch:
2222
pull_request:
2323
branches:
24-
- master
24+
- main
2525

2626
concurrency:
2727
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'

.github/workflows/stale.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2022-2024 Google LLC
1+
# Copyright 2022-2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# NOTE: This file is automatically generated from:
16-
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/github
16+
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/main/infra/terraform/test-org/github
1717

1818
name: "Close stale issues"
1919
on:

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# NOTE: This file is automatically generated from values at:
2-
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/org/locals.tf
2+
# https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/main/infra/terraform/test-org/org/locals.tf
33

44
* @terraform-google-modules/cft-admins @imrannayer
55

modules/composer_net/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This example illustrates how to use the `composer-net` module. Please see exampl
99
|------|-------------|------|---------|:--------:|
1010
| cloud\_composer\_network\_ipv4\_cidr\_block | The CIDR block from which IP range in tenant project will be reserved. | `string` | `null` | no |
1111
| composer\_env\_name | Name of Cloud Composer Environment | `string` | n/a | yes |
12+
| dns\_zone\_name | Composer DNS private zone name | `string` | `"composer-google-cloud-dns"` | no |
1213
| gke\_pods\_services\_ip\_ranges | The secondary IP ranges for the GKE Pods and Services IP ranges | `list(string)` | n/a | yes |
1314
| gke\_subnet\_ip\_range | The GKE subnet IP range | `list(string)` | n/a | yes |
1415
| master\_ipv4\_cidr | The CIDR block from which IP range in tenant project will be reserved for the master. | `string` | `null` | no |

modules/composer_net/dns.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ composer.cloud.google.com
1717
***************************************/
1818

1919
resource "google_dns_managed_zone" "composer_cloud_zone" {
20-
name = "composer-google-cloud-dns"
20+
name = var.dns_zone_name
2121
project = var.network_project_id
2222
dns_name = "composer.cloud.google.com."
2323
description = "composer.cloud.google.com zone"

modules/composer_net/fw.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ resource "google_compute_firewall" "allow-gkeworkers-egress-master-ip" {
8989
}
9090

9191
direction = "EGRESS"
92-
destination_ranges = [var.master_ipv4_cidr]
92+
destination_ranges = var.master_ipv4_cidr != null ? [var.master_ipv4_cidr] : []
9393
target_service_accounts = [google_service_account.composer_sa.email]
9494
log_config {
9595
metadata = "INCLUDE_ALL_METADATA"
@@ -172,7 +172,7 @@ resource "google_compute_firewall" "allow-gkeworkers-composer-network-ip" {
172172
}
173173
target_service_accounts = [google_service_account.composer_sa.email]
174174
direction = "EGRESS"
175-
destination_ranges = [var.cloud_composer_network_ipv4_cidr_block]
175+
destination_ranges = var.cloud_composer_network_ipv4_cidr_block != null ? [var.cloud_composer_network_ipv4_cidr_block] : []
176176

177177
log_config {
178178
metadata = "INCLUDE_ALL_METADATA"

modules/composer_net/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,9 @@ variable "composer_env_name" {
7171
description = "Name of Cloud Composer Environment"
7272
type = string
7373
}
74+
75+
variable "dns_zone_name" {
76+
description = "Composer DNS private zone name"
77+
type = string
78+
default = "composer-google-cloud-dns"
79+
}

modules/create_environment_v2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module "simple-composer-environment" {
8181
| env\_variables | Variables of the airflow environment. | `map(string)` | `{}` | no |
8282
| environment\_size | The environment size controls the performance parameters of the managed Cloud Composer infrastructure that includes the Airflow database. Values for environment size are: `ENVIRONMENT_SIZE_SMALL`, `ENVIRONMENT_SIZE_MEDIUM`, and `ENVIRONMENT_SIZE_LARGE`. | `string` | `"ENVIRONMENT_SIZE_MEDIUM"` | no |
8383
| grant\_sa\_agent\_permission | Cloud Composer relies on Workload Identity as Google API authentication mechanism for Airflow. | `bool` | `true` | no |
84-
| image\_version | The version of the aiflow running in the cloud composer environment. | `string` | `"composer-2.5.0-airflow-2.6.3"` | no |
84+
| image\_version | The version of the aiflow running in the cloud composer environment. | `string` | `"composer-2.10.2-airflow-2.10.2"` | no |
8585
| kms\_key\_name | Customer-managed Encryption Key fully qualified resource name, i.e. projects/project-id/locations/location/keyRings/keyring/cryptoKeys/key. | `string` | `null` | no |
8686
| labels | The resource labels (a map of key/value pairs) to be applied to the Cloud Composer. | `map(string)` | `{}` | no |
8787
| maintenance\_end\_time | Time window specified for recurring maintenance operations in RFC3339 format | `string` | `null` | no |

0 commit comments

Comments
 (0)