naftulikay / titan

The Titan Network Framework: A network layout well-suited to most organizational needs.
Apache License 2.0
13 stars 10 forks source link

Fix GCP deprecations #62

Open slavaaaaaaaaaa opened 5 years ago

slavaaaaaaaaaa commented 5 years ago

The following warnings are currently present:

Warning: module.gke.google_container_cluster.default: "region": [DEPRECATED] This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.

Warning: module.gke.google_container_node_pool.default: "region": [DEPRECATED] This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.

Warning: module.network.module.nat.google_compute_instance_group_manager.primary: "auto_healing_policies": [DEPRECATED] This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.                                                                          

Warning: module.network.module.nat.google_compute_instance_group_manager.secondary: "auto_healing_policies": [DEPRECATED] This field is in beta and will be removed from this provider. Use it in the the google-beta provider instead. See https://terraform.io/docs/providers/google/provider_versions.html for more details.                                                                        
slavaaaaaaaaaa commented 5 years ago

https://github.com/terraform-providers/terraform-provider-google/issues/2286 seems to fix that, seemingly for google provider version 2.0.0

Autohealing in MIGs is, in fact, still in beta.

Basically, these warnings mean that the code will not work in terraform 2.0, unless using the google-beta provider.

naftulikay commented 5 years ago

@smaslennikov is this still relevant in light of #66?

slavaaaaaaaaaa commented 5 years ago

Unfortunately, yes.