Skip to content

Commit 2d57bef

Browse files
fix(deps): lint updates for cft/developer-tools v1.18 (#123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andrew Peabody <[email protected]>
1 parent 90fdc5d commit 2d57bef

File tree

25 files changed

+48
-43
lines changed

25 files changed

+48
-43
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# Make will use bash instead of sh
1919
SHELL := /usr/bin/env bash
2020

21-
DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.0
21+
DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 1.18
2222
DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools
2323
REGISTRY_URL := gcr.io/cloud-foundation-cicd
2424

build/int.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ tags:
4141
- 'integration'
4242
substitutions:
4343
_DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools'
44-
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.0'
44+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.18'

build/lint.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ tags:
2121
- 'lint'
2222
substitutions:
2323
_DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools'
24-
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.0'
24+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.18'

examples/instance_with_advanced_options/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ output "instance_name" {
3636

3737
output "ipv4" {
3838
description = "The public IP address of the deployed instance"
39-
value = google_compute_instance.vm.network_interface.0.access_config.0.nat_ip
39+
value = google_compute_instance.vm.network_interface[0].access_config[0].nat_ip
4040
}

examples/instance_with_attached_disk/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
}
19-
2017
locals {
2118
instance_name = format("%s-%s", var.instance_name, substr(md5(module.gce-container.container.image), 0, 8))
2219
}

examples/instance_with_attached_disk/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ output "volumes" {
3131

3232
output "http_address" {
3333
description = "The IP address on which the HTTP service is exposed"
34-
value = google_compute_instance.vm.network_interface.0.access_config.0.nat_ip
34+
value = google_compute_instance.vm.network_interface[0].access_config[0].nat_ip
3535
}
3636

3737
output "http_port" {
@@ -46,5 +46,5 @@ output "instance_name" {
4646

4747
output "ipv4" {
4848
description = "The public IP address of the deployed instance"
49-
value = google_compute_instance.vm.network_interface.0.access_config.0.nat_ip
49+
value = google_compute_instance.vm.network_interface[0].access_config[0].nat_ip
5050
}

examples/instance_with_config_file/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@ output "volumes" {
3636

3737
output "ipv4" {
3838
description = "The public IP address of the deployed instance"
39-
value = google_compute_instance.vm.network_interface.0.access_config.0.nat_ip
39+
value = google_compute_instance.vm.network_interface[0].access_config[0].nat_ip
4040
}

examples/managed_instance_group/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ This example requires that some python libraries be installed, as outlined in `r
2121
| region | The GCP region to deploy instances into | `string` | n/a | yes |
2222
| service\_account | n/a | <pre>object({<br> email = string,<br> scopes = list(string)<br> })</pre> | <pre>{<br> "email": "",<br> "scopes": [<br> "cloud-platform"<br> ]<br>}</pre> | no |
2323
| subnetwork | The name of the subnetwork to deploy instances into | `string` | `"mig-subnet"` | no |
24-
| zone | The GCP zone to deploy instances into | `string` | n/a | yes |
2524

2625
## Outputs
2726

examples/managed_instance_group/variables.tf

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ variable "region" {
5454
type = string
5555
}
5656

57-
variable "zone" {
58-
description = "The GCP zone to deploy instances into"
59-
type = string
60-
}
61-
6257
variable "network" {
6358
description = "The GCP network"
6459
type = string

examples/simple_instance/main.tf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
provider "google" {
18-
}
19-
2017
locals {
2118
instance_name = format("%s-%s", var.instance_name, substr(md5(module.gce-container.container.image), 0, 8))
2219
}

0 commit comments

Comments
 (0)