-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add deprecation message for skip_delete for Project resource #11263
Add deprecation message for skip_delete for Project resource #11263
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @slevenick, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Errors
|
Tests analyticsTotal tests: 0 Click here to see the affected service packages
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_project" "primary" {
skip_delete = # value needed
}
|
Tests analyticsTotal tests: 142 Click here to see the affected service packages
View the build log |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_project" "primary" {
skip_delete = # value needed
}
|
Tests analyticsTotal tests: 142 Click here to see the affected service packages
View the build log |
@@ -68,6 +68,7 @@ func ResourceGoogleProject() *schema.Resource { | |||
}, | |||
"skip_delete": { | |||
Type: schema.TypeBool, | |||
Deprecated: `'skip_delete' is deprecated and will be removed in a future major release. The new release adds support for 'deletion_policy' instead.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove quotation marks in this message and it should fix the compilation error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, removed quotation marks. Doesn't seem to help though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Locally the provider generation works fine. There's something wrong with the test, it's picking up older version perhaps.
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_project" "primary" {
skip_delete = # value needed
}
|
Tests analyticsTotal tests: 142 Click here to see the affected service packages
View the build log |
@melinath do you know why TGC would be failing for this change? It doesn't seem like it should be causing a failure |
This is caused by hashicorp/terraform-provider-google#17924 - rerunning the tests should resolve it. (#10671 will fix it more permanently.) /gcbrun |
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are.
Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_project" "primary" {
skip_delete = # value needed
}
|
Tests analyticsTotal tests: 142 Click here to see the affected service packages
View the build log |
Add deprecation message for skip_delete for Project resource.
Part of b/330143705
Part of hashicorp/terraform-provider-google#18775
Release Note Template for Downstream PRs (will be copied)