Skip to content

Commit 8ece13a

Browse files
modular-magicianslevenick
authored andcommitted
Misc upgrade guide changes (#5411) (#3818)
Signed-off-by: Modular Magician <[email protected]>
1 parent 4686c38 commit 8ece13a

File tree

2 files changed

+30
-24
lines changed

2 files changed

+30
-24
lines changed

.changelog/5411.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

website/docs/guides/version_4_upgrade.html.markdown

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ terraform {
7171
# ... other configuration ...
7272
required_providers {
7373
google = {
74-
version = "~> 3.87.0"
74+
version = "~> 3.90.0"
7575
}
7676
}
7777
}
@@ -172,6 +172,8 @@ Previously users could specify `trace-append` or `trace-ro` as scopes for a give
172172
However, to better align with [Google documentation](https://cloud.google.com/sdk/gcloud/reference/alpha/compute/instances/set-scopes#--scopes), `trace` will now be the only valid scope, as it's an alias for `trace.append` and
173173
`trace-ro` is no longer a documented option.
174174

175+
## Datasources
176+
175177
## Datasource: `google_kms_key_ring`
176178

177179
### `id` now matches the `google_kms_key_ring` id format
@@ -180,6 +182,15 @@ The format has changed to better match the resource's ID format.
180182

181183
Interpolations based on the `id` of the datasource may require updates.
182184

185+
## Resources
186+
187+
## Resource: `google_app_engine_standard_app_version`
188+
189+
### `entrypoint` is now required
190+
191+
This resource would fail to deploy without this field defined. Specify the
192+
`entrypoint` block to fix any issues
193+
183194
## Resource: `google_bigquery_job`
184195

185196
### Exactly one of `query`, `load`, `copy` or `extract` is required
@@ -336,13 +347,6 @@ This field was incorrectly included in the GA `google` provider in past releases
336347
In order to continue to use the feature, add `provider = google-beta` to your
337348
resource definition.
338349

339-
## Resource: `google_app_engine_standard_app_version`
340-
341-
### `entrypoint` is now required
342-
343-
This resource would fail to deploy without this field defined. Specify the
344-
`entrypoint` block to fix any issues
345-
346350
## Resource: `google_compute_snapshot`
347351

348352
### `source_disk_link` is now removed
@@ -361,18 +365,6 @@ Substitute the following:
361365
"projects/${google_compute_snapshot.my_snapshot.project}/zones/${google_compute_snapshot.my_snapshot.zone}/disks/${google_compute_snapshot.my_snapshot.source_disk}"
362366
```
363367

364-
## Resource: `google_kms_crypto_key`
365-
366-
### `self_link` is now removed
367-
368-
Removed in favor of `id`.
369-
370-
## Resource: `google_kms_key_ring`
371-
372-
### `self_link` is now removed
373-
374-
Removed in favor of `id`.
375-
376368
## Resource: `google_data_loss_prevention_trigger`
377369

378370
### Exactly one of `inspect_job.0.storage_config.0.cloud_storage_options.0.file_set.0.url` or `inspect_job.0.storage_config.0.cloud_storage_options.0.file_set.0.regex_file_set` is required
@@ -404,6 +396,18 @@ The provider will now enforce at plan time that one of these fields be set.
404396
### At least one of `patch_config.0.post_step.0.linux_exec_step_config` or `patch_config.0.post_step.0.windows_exec_step_config` is required
405397
The provider will now enforce at plan time that one of these fields be set.
406398

399+
## Resource: `google_kms_crypto_key`
400+
401+
### `self_link` is now removed
402+
403+
Removed in favor of `id`.
404+
405+
## Resource: `google_kms_key_ring`
406+
407+
### `self_link` is now removed
408+
409+
Removed in favor of `id`.
410+
407411
## Resource: `google_project`
408412

409413
### `org_id`, `folder_id` now conflict at plan time
@@ -496,19 +500,19 @@ running `terraform plan`, amend your config to resolve them.
496500

497501
The affected fields are:
498502

499-
* `activation_policy` will now default to `ALWAYS` at plan time, and detect
503+
* `activation_policy` will now default to `ALWAYS` at plan time, and detect
500504
drift even when unset. Previously, Terraform only detected drift when the field
501505
had been set in config explicitly.
502506

503-
* `availability_type` will now default to `ZONAL` at plan time, and detect
507+
* `availability_type` will now default to `ZONAL` at plan time, and detect
504508
drift even when unset. Previously, Terraform only detected drift when the field
505509
had been set in config explicitly.
506510

507-
* `disk_type` will now default to `PD_SSD` at plan time, and detect
511+
* `disk_type` will now default to `PD_SSD` at plan time, and detect
508512
drift even when unset. Previously, Terraform only detected drift when the field
509513
had been set in config explicitly.
510514

511-
* `encryption_key_name` will now detect drift even when unset. Previously,
515+
* `encryption_key_name` will now detect drift even when unset. Previously,
512516
Terraform only detected drift when the field had been set in config explicitly.
513517

514518
## Resource: `google_storage_bucket`

0 commit comments

Comments
 (0)