Skip to content

Commit f3559b4

Browse files
feat!: add Terraform 0.13 constraint and module attribution (#70)
Co-authored-by: Morgante Pell <morgantep@google.com>
1 parent 5d4d6ad commit f3559b4

File tree

17 files changed

+103
-55
lines changed

17 files changed

+103
-55
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 := 0.12.0
21+
DOCKER_TAG_VERSION_DEVELOPER_TOOLS := 0.13
2222
DOCKER_IMAGE_DEVELOPER_TOOLS := cft/developer-tools
2323
REGISTRY_URL := gcr.io/cloud-foundation-cicd
2424

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ configures a function sourced from a Cloud Source Repositories
1414
repository.
1515

1616
## Compatibility
17-
18-
This module is meant for use with Terraform 0.12. If you haven't [upgraded](https://www.terraform.io/upgrade-guides/0-12.html) and need a Terraform 0.11.x-compatible version of this module, the last released version intended for Terraform 0.11.x
19-
is [0.1.0](https://registry.terraform.io/modules/terraform-google-modules/event-function/google/0.1.0).
20-
17+
This module is meant for use with Terraform 0.13. If you haven't
18+
[upgraded](https://www.terraform.io/upgrade-guides/0-13.html) and need a Terraform
19+
0.12.x-compatible version of this module, the last released version
20+
intended for Terraform 0.12.x is [v1.5.0](https://registry.terraform.io/modules/terraform-google-modules/-event-function/google/v1.5.0).
2121

2222
## Usage
2323

@@ -96,7 +96,7 @@ order to invoke this module.
9696
The following software dependencies must be installed on the system
9797
from which this module will be invoked:
9898

99-
- [Terraform][terraform-site] v0.12
99+
- [Terraform](https://www.terraform.io/downloads.html) >= 0.13.0
100100
- [Terraform Provider for Archive][terraform-provider-archive-site]
101101
v1.2
102102
- [Terraform Provider for Google Cloud Platform][terraform-provider-gcp-site] v2.5

build/int.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ tags:
3838
- 'integration'
3939
substitutions:
4040
_DOCKER_IMAGE_DEVELOPER_TOOLS: 'cft/developer-tools'
41-
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0.12.0'
41+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0.13'

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: '0.12.0'
24+
_DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '0.13'

examples/automatic-labelling-folder/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ this directory:
2020
## Inputs
2121

2222
| Name | Description | Type | Default | Required |
23-
|------|-------------|:----:|:-----:|:-----:|
24-
| folder\_id | The ID of the folder to look for changes. | string | n/a | yes |
25-
| project\_id | The ID of the project to which resources will be applied. | string | n/a | yes |
26-
| region | The region in which resources will be applied. | string | n/a | yes |
23+
|------|-------------|------|---------|:--------:|
24+
| folder\_id | The ID of the folder to look for changes. | `string` | n/a | yes |
25+
| project\_id | The ID of the project to which resources will be applied. | `string` | n/a | yes |
26+
| region | The region in which resources will be applied. | `string` | n/a | yes |
2727

2828
## Outputs
2929

examples/automatic-labelling-from-localhost/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ this directory:
2121
## Inputs
2222

2323
| Name | Description | Type | Default | Required |
24-
|------|-------------|:----:|:-----:|:-----:|
25-
| project\_id | The ID of the project to which resources will be applied. | string | n/a | yes |
26-
| region | The region in which resources will be applied. | string | n/a | yes |
27-
| subnetwork | The name or self_link of the subnetwork to create compute instance in. | string | `"default"` | no |
28-
| zone | The zone in which resources will be applied. | string | n/a | yes |
24+
|------|-------------|------|---------|:--------:|
25+
| project\_id | The ID of the project to which resources will be applied. | `string` | n/a | yes |
26+
| region | The region in which resources will be applied. | `string` | n/a | yes |
27+
| subnetwork | The name or self\_link of the subnetwork to create compute instance in. | `string` | `"default"` | no |
28+
| zone | The zone in which resources will be applied. | `string` | n/a | yes |
2929

3030
## Outputs
3131

examples/automatic-labelling-from-repository/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ this directory:
2121
## Inputs
2222

2323
| Name | Description | Type | Default | Required |
24-
|------|-------------|:----:|:-----:|:-----:|
25-
| project\_id | The ID of the project to which resources will be applied. | string | n/a | yes |
26-
| region | The region in which resources will be applied. | string | n/a | yes |
27-
| subnetwork | The name or self_link of the subnetwork to create compute instance in. | string | `"default"` | no |
28-
| zone | The zone in which resources will be applied. | string | n/a | yes |
24+
|------|-------------|------|---------|:--------:|
25+
| project\_id | The ID of the project to which resources will be applied. | `string` | n/a | yes |
26+
| region | The region in which resources will be applied. | `string` | n/a | yes |
27+
| subnetwork | The name or self\_link of the subnetwork to create compute instance in. | `string` | `"default"` | no |
28+
| zone | The zone in which resources will be applied. | `string` | n/a | yes |
2929

3030
## Outputs
3131

examples/delete-vms-without-cmek/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ this directory:
2020
## Inputs
2121

2222
| Name | Description | Type | Default | Required |
23-
|------|-------------|:----:|:-----:|:-----:|
24-
| project\_id | The ID of the project to which resources will be applied. | string | n/a | yes |
25-
| region | The region in which resources will be applied. | string | n/a | yes |
23+
|------|-------------|------|---------|:--------:|
24+
| project\_id | The ID of the project to which resources will be applied. | `string` | n/a | yes |
25+
| region | The region in which resources will be applied. | `string` | n/a | yes |
26+
27+
## Outputs
28+
29+
No output.
2630

2731
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
2832

examples/dynamic-files/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ this directory:
1818
## Inputs
1919

2020
| Name | Description | Type | Default | Required |
21-
|------|-------------|:----:|:-----:|:-----:|
22-
| project\_id | The ID of the project to which resources will be applied. | string | n/a | yes |
23-
| region | The region in which resources will be applied. | string | n/a | yes |
21+
|------|-------------|------|---------|:--------:|
22+
| project\_id | The ID of the project to which resources will be applied. | `string` | n/a | yes |
23+
| region | The region in which resources will be applied. | `string` | n/a | yes |
2424

2525
## Outputs
2626

modules/event-folder-log-entry/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ The
2020
## Inputs
2121

2222
| Name | Description | Type | Default | Required |
23-
|------|-------------|:----:|:-----:|:-----:|
24-
| filter | The filter to apply when exporting logs. | string | n/a | yes |
25-
| folder\_id | The ID of the folder to look for changes. | string | n/a | yes |
26-
| include\_children | Determines whether or not to include folder's children in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included. | bool | `"false"` | no |
27-
| labels | A set of key/value label pairs to assign to any labelable resources. | map(string) | `<map>` | no |
28-
| name | The name to apply to any nameable resources. | string | n/a | yes |
29-
| project\_id | The ID of the project to which resources will be applied. | string | n/a | yes |
23+
|------|-------------|------|---------|:--------:|
24+
| filter | The filter to apply when exporting logs. | `string` | n/a | yes |
25+
| folder\_id | The ID of the folder to look for changes. | `string` | n/a | yes |
26+
| include\_children | Determines whether or not to include folder's children in the sink export. If true, logs associated with child projects are also exported; otherwise only logs relating to the provided folder are included. | `bool` | `false` | no |
27+
| labels | A set of key/value label pairs to assign to any labelable resources. | `map(string)` | `{}` | no |
28+
| name | The name to apply to any nameable resources. | `string` | n/a | yes |
29+
| project\_id | The ID of the project to which resources will be applied. | `string` | n/a | yes |
3030

3131
## Outputs
3232

0 commit comments

Comments
 (0)