-
Notifications
You must be signed in to change notification settings - Fork 2k
promote preview-feature to v1 #15377
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
promote preview-feature to v1 #15377
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: For automatic test runs see go/terraform-auto-test-runs. @rileykarson, 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.
Missing service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Non-exercised tests🔴 Tests were added that are GA-only additions and require manual runs:
Tests analyticsTotal tests: 1294 Click here to see the affected service packages
Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🟢 Tests passed during RECORDING mode: 🟢 No issues found for passed tests after REPLAYING rerun. 🔴 Tests failed during RECORDING mode: 🔴 Errors occurred during RECORDING mode. Please fix them to complete your PR. |
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 service labelsThe following new resources do not have corresponding service labels:
If you believe this detection to be incorrect please raise the concern with your reviewer. Googlers: This error is safe to ignore once you've completed go/fix-missing-service-labels. |
Non-exercised tests🔴 Tests were added that are GA-only additions and require manual runs:
Tests analyticsTotal tests: 1294 Click here to see the affected service packages
Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
- name: 'activationStatus' | ||
type: Enum | ||
description: 'The activation status of the preview feature.' | ||
required: true | ||
enum_values: | ||
- 'ENABLED' | ||
- 'DISABLED' | ||
- 'ACTIVATION_STATE_UNSPECIFIED' |
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.
- name: 'activationStatus'
type: String
description: 'The activation status of the preview feature. Possible values: ["ENABLED", "ACTIVATION_STATE_UNSPECIFIED"]'
required: true
validation:
function: verify.ValidateEnum([]string{"ENABLED", "DISABLED", "ACTIVATION_STATE_UNSPECIFIED"})
My recommendation would be this implementation. Enums are really just strings with some validation. This way we still support the previous enum at the validation level and simply remove it from documentation.
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.
checked test history. Also failing there
https://hashicorp.teamcity.com/test/2895556846449536514?currentProjectId=TerraformProviders_GoogleCloud_GOOGLE_BETA_NIGHTLYTESTS . I believe we can make this change safely.
No external calls in last 30 days
https://plx.corp.google.com/scripts2/script_6b._e0b5c0_eb8e_45b2_a8bc_ff67878d3e7d
0268d66
Background:
This change promotes the
google_compute_preview_feature
resource to GA, making it available in the stable provider version. The initial beta support was added in #14363.