Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update upgrade guide #2665

Merged
merged 14 commits into from
Nov 13, 2019
Merged

Conversation

megan07
Copy link
Contributor

@megan07 megan07 commented Nov 12, 2019

updating upgrade doc

`access_context_manager`: Made `os_type` required on block `google_access_context_manager_access_level.basic.conditions.device_policy.os_constraints`.
`app_engine`: Made `script_path` required on `google_app_engine_standard_app_version.handlers.script`.
`bigquery`: Made `role` required on `google_bigquery_dataset.access`.
`bigtable`: Made exactly one of `single_cluster_routing` or `multi_cluster_routing_use_any` required on `google_bigtable_app_profile`.
`binary_authorization`: Made `name_pattern` required on `google_binary_authorization_policy.admission_whitelist_patterns`.
`binary_authorization`: Made `evaluation_mode` and `enforcement_mode` required on `google_binary_authorization_policy.cluster_admission_rules`.
`cloudbuild`: Made exactly one of `filename` or `build` required on `google_cloudbuild_trigger`.
`cloudscheduler`: Made exactly one of `pubsub_target`, `http_target` or `app_engine_http_target` required on `google_cloudscheduler_job`.
`compute`: Made exactly one of `http_health_check`, `https_health_check`, `http2_health_check`, `tcp_health_check` or `ssl_health_check` required on `google_compute_health_check`.
`compute`: Made exactly one of `http_health_check`, `https_health_check`, `http2_health_check`, `tcp_health_check` or `ssl_health_check` required on `google_compute_region_health_check`.
`monitoring`: Made exactly one of `http_check` or `tcp_check` is now required on `google_monitoring_uptime_check_config`.
`monitoring`: Made at least one of `auth_info`, `port`, `headers`, `path`, `use_ssl`, or `mask_headers` is now required on `google_monitoring_uptime_check_config.http_check`

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 7aadc69a734cf6253f983c8e7e498d4dd2076720

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of bd05c368fbe178aaadbae2d6b6a2e066cca2b8e0

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of a6c96bfe517c95e47dfd331396d905be9a93c8ca

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of b13f4af4db8cf9b8065148b42146a601df632167

TPG Diff
TPGB Diff
Mapper Diff

1 similar comment
@modular-magician
Copy link
Collaborator

3.0.0 diff report as of b13f4af4db8cf9b8065148b42146a601df632167

TPG Diff
TPGB Diff
Mapper Diff

@megan07 megan07 requested a review from paddycarver November 13, 2019 00:07
@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 5df362bead7eb5860df6aeffce3481ecd597db77

TPG Diff
TPGB Diff
Mapper Diff

1 similar comment
@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 5df362bead7eb5860df6aeffce3481ecd597db77

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of f2ec9e4d7afe6c3f216e8a5c47ebc33f96b1f153

TPG Diff
TPGB Diff
Mapper Diff

1 similar comment
@modular-magician
Copy link
Collaborator

3.0.0 diff report as of f2ec9e4d7afe6c3f216e8a5c47ebc33f96b1f153

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 350535762485d21bd8beee1c5ae102018fffe3e0

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 8d04b16b35dd9f9e58cbcaee1858741699c70044

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of ca04da5abb103a5dfd9071caa17f2edb2e2cb093

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 01fd7d953a32c5b31a1920629b877e790d3aaa45

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 7bfe81e

TPG Diff
TPGB Diff
Mapper Diff

Copy link
Contributor

@paddycarver paddycarver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of typos/out of order/merge artifacts I saw that I'd like to see fixed, but nothing major. Other than those, LGTM.

@@ -236,17 +261,236 @@ resource "google_cloudiot_registry" "myregistry" {
}
```

### `logging_service` and `monitoring_service` defaults changed
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs to get moved to container_cluster after the rebase.

In an attempt to avoid allowing empty blocks in config files, `name` and `path` are now
required on the `build.volumes` block.

### `taint` field is now authoritative when set
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like it's in the wrong spot--it seems like it should be under container_cluster?

@@ -619,30 +1028,49 @@ The `kubernetes_dashboard` addon is deprecated for clusters on GKE and
will soon be removed. It is recommended to use alternative GCP Console
dashboards.

### `channel` is now required on `google_container_cluster.relase_channel`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relase looks like a typo

### `channel` is now required on `google_container_cluster.relase_channel`

In an attempt to avoid allowing empty blocks in config files, `channel` is now
required on the `relase_channel` block.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

relase again.

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 7826c12

TPG Diff
TPGB Diff
Mapper Diff

@megan07 megan07 requested a review from paddycarver November 13, 2019 06:44
@modular-magician
Copy link
Collaborator

3.0.0 diff report as of b12e7fe

TPG Diff
TPGB Diff
Mapper Diff

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of d4d95e1

TPG Diff
TPGB Diff
Mapper Diff

@@ -136,17 +136,30 @@ objects:
description: |
The Google Cloud Storage URL, starting with gs://, pointing to the zip
archive which contains the function.
exactly_one_of:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes actually don't do anything, because this resource is not currently generated. I removed the update from the upgrade guide, but I figured I could leave them all in here so that when we eventually do generate it, they'll be there.

@modular-magician
Copy link
Collaborator

3.0.0 diff report as of 2444f22

TPG Diff
TPGB Diff
Mapper Diff

@@ -272,7 +272,6 @@ objects:
properties:
- !ruby/object:Api::Type::NestedObject
name: template
required: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intentional? Seems out of character with the rest of the changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! I took that out because i saw its all flattened in terraform.yaml, and the flattened part is already required.

@megan07 megan07 merged commit b2a10bb into GoogleCloudPlatform:3.0.0 Nov 13, 2019
rileykarson pushed a commit that referenced this pull request Nov 13, 2019
rileykarson added a commit that referenced this pull request Nov 13, 2019
* cloudbuild build trigger's trigger template should be required in 3.0.0. (#2352)

* cloudbuild build trigger's trigger template should be required in 3.0.0.

* Make backend_service.backends.group required. (#2373)

* Remove Removed fields (#2391)

* deprecated-->removed event notification config (#2390)

* deprecated-->removed event notification config

* remove singular config from tests/docs

* pluralize

* Update third_party/terraform/tests/resource_cloudiot_registry_test.go

Co-Authored-By: Riley Karson <[email protected]>

* Delete google_project_services in 3.0.0. (#2403)

* Changing IAM audit config to be authoritative (#2438)

* Changing IAM audit config to be authoritative

* Remove unused code + test

* Removing deprecated fields (#2436)

* Add validation for scratch disks in Instance Template (#2282)

* Add validation for scratch disks

* Remove source from scratch disk

* Use hardcoded image

* Add reverse logic

* Change default id format from {{name}} to self_link_uri (#2461)

* Change default id format from {{name}} to self_link_uri

* Updates to generated id formats (#2460)

* Update ID fields for various MM-generated resources

* gofmt -s -w extra file

* Add userinfo.email to default scopes (#2473)

* Set GKE Stackdriver defaults to GKE Stackdriver Monitoring (#2471)

* only allow instance templates with 375gb scratch disks (#2495)

* Update cloudfunction id for 3.0.0 release (#2501)

* handle cloudfunctions deprecating nodejs6 (#2499)

* Handwritten id updates for several compute resources (#2502)

* Composer environment and compute attached disk id updates

* Add compute instance

* Add instance_from_group and instance_group

* IGM id

* Instance template tests passing

* Add new id format to other calls of parseImportId in IGM

* Small refactor to memoize var

* Refactor, remove parseImportId in IGM

* handle legacy network deprecation (#2508)

* Fix gofmt diff in Cloud Functions (#2542)

* More handwritten ids (#2527)

* Fix cloudfunction formatting, migrate RIGM id

* Update security policy resource id

* Update target pool id format

* Add new id for container cluster

* Node pool id updates

* PR feedback, using parseImportId for container resources

* Formatting

* fix container cluster (#2550)

* Datasource id updates (#2544)

* Update datasources

* formatting

* Even more handwritten ids (#2540)

* Dataproc cluster, job, google project

* Update sql ssl cert, database instance ids

* Project id comparison include projects/

* remove kubernetes_dashboard from google_container_cluster (#2551)

* Add back encoder that always sends autoCreateSubnetworks (#2558)

* Allow defining empty taint, remove old DSF (#2537)

* Remove encoder, can be done as send_empty_value on autoCreateSubnetworks (#2559)

* deprecate 0.11 syntax in docs (datasources) (#2573)

* deprecate 0.11 syntax in docs (resources) (#2574)

* deprecate 0.11 syntax in docs (magic modules examples) (#2579)

* remove long name behavior for pubsub subscriptions, clean up cu… (#2561)

* remove long name behavior for pubsub subscriptions, clean up custom expanders

* fix build

* fix tests

* Fix merge conflict in rigm test

* Remove unused regexes from rigm (#2602)

* Fix missing paren + bad var in resourcepolicy datasource 3.0.0 (#2600)

* Test fixes based on integration tests, id formats + other easy fixes (#2605)

* Test fixes based on integration tests, id formats + other easy fixes

* Compute network id test update

* Fix region disk test id

* Update subnetwork to remove enable_flow_logs and depend on log_config instead (#2597)

* Test updates to not depend on id format. Also test fixes (#2609)

* Test updates to not depend on id format. Also test fixes

* Typo

* location -> region in node pool test

* Cluster test fixes (#2611)

* Fix container cluster tests, and signed url key, instance group

* Fix invalid accessor

* Update hand-written resources with `AtLeastOneOf` and `ExactlyOneOf` attributes (#2608)

* Rigm/igm field removals for 3.0.0 (#2595)

* Remove deprecated IGM fields for 3.0

* fix imports (#2619)

* Remove automatic subnetwork creation in GKE (#2615)

* Remove automatic subnetwork creation in GKE

* Update docs, add Computed

* More integration test fixes (#2617)

* Fix bigtable for real, scratch disk size, target pool checks

* Proxy test fixes

* CloudIOT registry set removed field to nil. Add specific id format for access context manager

* (r)igm imports for customdiff (#2623)

* (r)igm imports for customdiff

* Fix schema issues

* Fix IGM custom diff and reuse method between resources (#2624)

* Forwardingrule ip address (#2620)

add the validation function

* Remove unused sort import from rigm (#2625)

* add composer test fixes, backend bucket signed url key (#2631)

* Stop users from specifying bigquery-json in 3.0.0 (#2626)

* Send null logConfig if subnetwork is L7ILB (#2635)

* Send null logConfig if subnetwork is L7ILB

* Move subnet ilb check to only if logConfig unspecified

* deprecate 0.11 syntax in tests (datasources) (#2593)

* Make master_authorized_networks_config.cidr_blocks Optional in… (#2642)

* Make master_authorized_networks_config.cidr_blocks Optional in GKE

* Add note

* update magic module-generated resources with at_least_one_of (#2639)

* add exactly_one_of to magic modules

update comment

* Update Data Fusion Instance to conform with 3.0.0 id updates (#2649)

* Fix IAM doc id_format to new post 3.0.0 style

* Add note on id format changes (#2656)

* Add upgrade guide for subnetwork log_config (#2653)

* Add upgrade guide for subnetwork log_config

* Add examples for subnet logConfig update

* Wording on upgrade guide

* Add note on audit log config (#2658)

* Add misc entries to the upgrade guide (#2657)

* Add misc entries to the upgrade guide

* Remove extra space

* add info on scratch disk size and remove duplicate kms_key_self… (#2659)

* Add upgrade guide notes. (#2663)

* Add upgrade guide for forwarding rule validation (#2666)

* Convert old import formats (using non-/) to use /. (#2638)

* Convert old import formats (using non-/) to use /.

* Upgrade proofreading (#2668)

* Add upgrade note for IoT registry event_notification_configs (#2390) (#2651)

Merged PR #2651.

* sort upgrade guide; change wording in a few places

* Password is not actually required. (#2670)

* Add improved for_each non-module variant to project service upg… (#2671)

* Update bigtable import & tests to 3.0 (#2673)

* update upgrade guide (#2665)

* update formatting for upgrade doc (#2674)

* Add rigm to upgrade guide (#2667)

Update docs to be accurate for 3.0

* proofreading changes (#2676)

* Add back lost newlines
rileykarson pushed a commit that referenced this pull request Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants