Skip to content

Commit e64baa8

Browse files
feat!: version upgrade to 8.0.0
1 parent 73e60b0 commit e64baa8

File tree

6 files changed

+31
-5
lines changed

6 files changed

+31
-5
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The following guides are available to assist with upgrades:
1515

1616
- [1.X -> 2.0](./docs/upgrading_to_lb_internal_v2.0.md)
1717
- [5.x -> 6.x](./docs/upgrading_to_lb_internal_v6.md)
18+
- [7.x -> 8.x](./docs/upgrading_to_lb_internal_v8.md)
1819

1920
## Usage
2021

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Upgrading to v8.0
2+
3+
This version introduces breaking changes to align the module with Google's **Application Design Center (ADC)** compliance standards.
4+
5+
## Breaking Changes
6+
7+
### Variable Rename: `project` to `project_id`
8+
9+
To maintain consistency across all Google Cloud blueprints and modules, the `project` input variable has been renamed to `project_id`. This change is required for ADC compliance.
10+
11+
#### Before
12+
```hcl
13+
module "gce-ilb" {
14+
source = "terraform-google-modules/lb-internal/google"
15+
version = "~> 7.0"
16+
project = "my-project-id"
17+
# ...
18+
}
19+
After
20+
module "gce-ilb" {
21+
source = "terraform-google-modules/lb-internal/google"
22+
version = "~> 8.0"
23+
project_id = "my-project-id"
24+
# ...
25+
}

examples/simple/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This example creates 3 instance groups. The first group is in us-central1-b and
1212
| Name | Description | Type | Default | Required |
1313
|------|-------------|------|---------|:--------:|
1414
| network | Name of the network to create resources in. | `string` | n/a | yes |
15-
| project | The project id to deploy to | `string` | n/a | yes |
15+
| project\_id | The project id to deploy to | `string` | n/a | yes |
1616
| region | Region for cloud resources. | `string` | n/a | yes |
1717
| service\_account | Service account to attach to the instance. See https://www.terraform.io/docs/providers/google/r/compute_instance_template#service_account | <pre>object({<br> email = string<br> scopes = set(string)<br> })</pre> | n/a | yes |
1818
| subnetwork | Name of the subnetwork to create resources in. | `string` | n/a | yes |

examples/simple/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ variable "subnetwork_project" {
4242
type = string
4343
}
4444

45-
variable "project" {
45+
variable "project_id" {
4646
description = "The project id to deploy to"
4747
type = string
4848
}

metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
source:
2525
repo: https://github.com/vandnagarggoogle/terraform-google-lb-internal.git
2626
sourceType: git
27-
version: 7.1.0
27+
version: 8.0.0
2828
actuationTool:
2929
flavor: Terraform
3030
version: ">= 1.3"

versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ terraform {
2929
}
3030

3131
provider_meta "google" {
32-
module_name = "blueprints/terraform/terraform-google-lb-internal/v7.1.0"
32+
module_name = "blueprints/terraform/terraform-google-lb-internal/v8.0.0"
3333
}
3434

3535
provider_meta "google-beta" {
36-
module_name = "blueprints/terraform/terraform-google-lb-internal/v7.1.0"
36+
module_name = "blueprints/terraform/terraform-google-lb-internal/v8.0.0"
3737
}
3838
}

0 commit comments

Comments
 (0)