Skip to content

Commit b33c20d

Browse files
authored
fix!: update TPG version 3.62 and address tflint/CI (#90)
1 parent 3dd1053 commit b33c20d

File tree

17 files changed

+17
-21
lines changed

17 files changed

+17
-21
lines changed

.kitchen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
driver:
1717
name: "terraform"
1818
command_timeout: 1800
19+
verify_version: false
1920

2021
provisioner:
2122
name: "terraform"

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.10
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
@@ -75,4 +75,4 @@ tags:
7575
- 'integration'
7676
substitutions:
7777
_DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools'
78-
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.0'
78+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '1.10'

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.10'

examples/bq-exfil-demo/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ terraform apply
6464
| folder\_id | Folder ID within the Organization: e.g. 1234567898765 | `string` | `""` | no |
6565
| members | List of members in the standard GCP form: user:{email}, serviceAccount:{email}, group:{email} | `list(string)` | `[]` | no |
6666
| org\_id | Organization ID. e.g. 1234567898765 | `string` | n/a | yes |
67-
| perimeter\_name | Name of the VPC SC perimeter | `string` | `"protect_the_daters"` | no |
6867
| region | Region where the bastion host will run | `string` | `"us-west1"` | no |
6968
| terraform\_service\_account | The Terraform service account email that should still be allowed in the perimeter to create buckets, datasets, etc. | `string` | n/a | yes |
7069
| zone | Zone where the bastion host will run | `string` | `"us-west1-a"` | no |

examples/bq-exfil-demo/variables.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ variable "terraform_service_account" {
4040
description = "The Terraform service account email that should still be allowed in the perimeter to create buckets, datasets, etc."
4141
}
4242

43-
variable "perimeter_name" {
44-
type = string
45-
description = "Name of the VPC SC perimeter"
46-
default = "protect_the_daters"
47-
}
48-
4943
variable "region" {
5044
description = "Region where the bastion host will run"
5145
type = string

examples/onprem_demo/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
provider "google" {
18-
credentials = file("${var.credentials_path}")
18+
credentials = file(var.credentials_path)
1919
}
2020

2121
module "onprem_network" {

examples/onprem_demo/onprem_project/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ resource "google_compute_route" "default_for_all" {
283283
dest_range = "0.0.0.0/0"
284284
name = "default-for-all"
285285
network = google_compute_network.onprem-network.self_link
286-
next_hop_ip = google_compute_instance.forward_proxy_instance.network_interface.0.network_ip
286+
next_hop_ip = google_compute_instance.forward_proxy_instance.network_interface[0].network_ip
287287
priority = "1000"
288288
project = google_project.on_prem_network_project.project_id
289289
}

examples/onprem_demo/onprem_project/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ output "ip_addr_onprem_vpn_router" {
2020
}
2121

2222
output "windows_onprem_public_ip" {
23-
value = google_compute_instance.windows_jumphost.network_interface.0.access_config.0.nat_ip
23+
value = google_compute_instance.windows_jumphost.network_interface[0].access_config[0].nat_ip
2424
description = "Public IP address for the 'onprem' Windows jumphost"
2525
}

examples/onprem_demo/vpc_sc_project/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ module "regular_service_perimeter_1" {
272272
policy = var.access_policy_name
273273
perimeter_name = "regular_perimeter_1"
274274
description = "VPC Service Controls perimeter"
275-
resources = ["${google_project.vpc_sc_network_project.number}"]
275+
resources = [google_project.vpc_sc_network_project.number]
276276

277277
restricted_services = ["bigquery.googleapis.com",
278278
"cloudkms.googleapis.com",

0 commit comments

Comments
 (0)