-
Notifications
You must be signed in to change notification settings - Fork 1.8k
container: allow updating accelerators #13656
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: drfaust92 <[email protected]>
Hello! I am a robot. Tests will require approval from a repository maintainer to run. Googlers: see go/terraform-auto-test-runs to set up automatic test runs. @NickElliot, 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. |
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
Signed-off-by: drfaust92 <[email protected]>
@@ -148,21 +148,18 @@ func schemaNodeConfig() *schema.Schema { | |||
"guest_accelerator": { | |||
Type: schema.TypeList, | |||
Optional: true, | |||
Computed: true, |
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.
this will recreate when guest_accelerator is removed as there no method to remove via API (I tried thoroughly) but will allow updating if changes to nested args are made
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.
Breaking Change(s) DetectedThe following breaking change(s) were detected within your pull request.
If you believe this detection to be incorrect please raise the concern with your reviewer. Missing test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_container_cluster" "primary" {
node_config {
guest_accelerator {
count = # value needed
gpu_driver_installation_config {
gpu_driver_version = # value needed
}
gpu_partition_size = # value needed
gpu_sharing_config {
gpu_sharing_strategy = # value needed
max_shared_clients_per_gpu = # value needed
}
type = # value needed
}
}
node_pool {
node_config {
guest_accelerator {
count = # value needed
gpu_driver_installation_config {
gpu_driver_version = # value needed
}
gpu_partition_size = # value needed
gpu_sharing_config {
gpu_sharing_strategy = # value needed
max_shared_clients_per_gpu = # value needed
}
type = # value needed
}
}
}
}
|
Tests analyticsTotal tests: 230 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
|
🟢 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. |
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.
removing computed status from the entire block is definitely a breaking change as it no longer is providing output, is it possible to keep guest_accelerator
as O+C?
Release Note Template for Downstream PRs (will be copied)