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

[Announcement] Upcoming Changes in Version 6.0.0 of the Google Provider #18300

Closed
swati-chadha opened this issue Jun 3, 2024 · 6 comments
Closed
Milestone

Comments

@swati-chadha
Copy link

We are planning to release version 6.0.0 of the Google providers in late August 2024. Major releases allow the provider to make breaking changes in a scheduled and publicized manner to help avoid unnecessary churn for our users.
Since the last major provider release in September 2023, we have been listening closely to the community's feedback. The upcoming major release primarily focuses on various enhancements and bug fixes that include breaking changes.
Support for earlier versions of Terraform will not change as a result of the major version release v6.0.0.

Notable Changes

1. Opt-out default label “goog-terraform-provisioned”

As a follow-up to the addition of provider-level default labels in 5.0.0, the 6.0.0 major release will include an opt-out default label “goog-terraform-provisioned”. This provider-level label “goog-terraform-provisioned” will be added to applicable resources to identify resources that were created by Terraform. This default label will only apply for newly created resources with a labels field. This will enable users to have a view of resources managed by Terraform when viewing/editing these resources in other tools like Cloud Console, Cloud Billing etc.

The labelgoog-terraform-provisioned” can be used for the following :

  • To filter on the Billing Reports page:

    image

  • To view the Cost Breakdown:

    image

  • The label can also be used with BigQuery export.

An opt-in version of the label was already released in 5.16.0, and 6.0.0 will change the label to opt-out. To opt-out of this default label, users may toggle the add_terraform_attribution_label provider configuration field. This can be set explicitly using any release from 5.16.0 onwards and the value in configuration will apply after the 6.0.0 upgrade.

provider "google" {
  // opt out of “goog-terraform-provisioned” default label
  add_terraform_attribution_label = false
}

2. Allow reducing the suffix length in “name_prefix”.

Another notable issue to be resolved in the next major release is #15374. The default value for “name_prefix” for all resources will change to have a shorter appended suffix, which would allow the user-input to be longer.

For example, google_instance_template.name_prefix

@rileykarson rileykarson pinned this issue Jun 3, 2024
@SarahFrench SarahFrench added this to the 6.0.0 milestone Jun 3, 2024
@HAHGX
Copy link

HAHGX commented Jun 5, 2024

Cool

@daanheikens
Copy link

@swati-chadha GoogleCloudPlatform/magic-modules#10507 This PR was reverted due to an unexpected breaking change, Is it possible to also add this to this upcoming major release?

@c2thorn
Copy link
Collaborator

c2thorn commented Jun 5, 2024

@swati-chadha GoogleCloudPlatform/magic-modules#10507 This PR was reverted due to an unexpected breaking change, Is it possible to also add this to this upcoming major release?

reopened #17881 to track that.

@c2thorn
Copy link
Collaborator

c2thorn commented Aug 26, 2024

@c2thorn
Copy link
Collaborator

c2thorn commented Aug 26, 2024

Closing this and the 6.0.0 milestone. Further updates and followups should be in https://github.com/hashicorp/terraform-provider-google/milestone/97

@c2thorn c2thorn closed this as completed Aug 26, 2024
@rileykarson rileykarson unpinned this issue Aug 27, 2024
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants