Skip to content

Commit 451d333

Browse files
committed
docs
1 parent c07c1fd commit 451d333

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ These sections describe requirements for using this module.
3939

4040
The following dependencies must be available:
4141

42-
- [Terraform][terraform] >= v0.12
42+
- [Terraform][terraform] >= v1.3
4343
- [Terraform Provider for GCP][terraform-provider-gcp]
4444

4545
### APIs
@@ -95,7 +95,7 @@ If the user does not share the same domain as the org the bastion is in, you wil
9595
| preemptible | Allow the instance to be preempted | `bool` | `false` | no |
9696
| project | The project ID to deploy to | `string` | n/a | yes |
9797
| random\_role\_id | Enables role random id generation. | `bool` | `true` | no |
98-
| region | The region where the bastion instance template will live | `string` | `null` | no |
98+
| region | The region where the bastion instance template will live | `string` | `"us-central1"` | no |
9999
| resource\_manager\_tags | (Optional) A tag is a key-value pair that can be attached to a Google Cloud resource. You can use tags to conditionally allow or deny policies based on whether a resource has a specific tag. This value is not returned by the API. In Terraform, this value cannot be updated and changing it will recreate the resource. | `map(string)` | `null` | no |
100100
| scopes | List of scopes to attach to the bastion host | `list(string)` | <pre>[<br> "cloud-platform"<br>]</pre> | no |
101101
| service\_account\_email | If set, the service account and its permissions will not be created. The service account being passed in should have at least the roles listed in the `service_account_roles` variable so that logging and OS Login work as expected. | `string` | `""` | no |

docs/upgrading_to_v9.0.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Upgrading to terraform-google-bastion-host v9.x
2+
3+
The v9.0 release of Google Bastion Host is a backwards incompatible release.
4+
Below a list of the breaking changes and the migration instructions.
5+
6+
## ⚠ BREAKING CHANGES
7+
8+
* The `region` variable now defaults to `us-central1` rather than `null` for instance templates.
9+
* A minimum of Terraform v1.3 is now required.

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ variable "region" {
177177
type = string
178178

179179
description = "The region where the bastion instance template will live"
180-
default = null
180+
default = "us-central1"
181181
}
182182

183183
variable "random_role_id" {

0 commit comments

Comments
 (0)