-
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 IDPF support for the google_compute_instance and google_compute_image.guest_os_features #12256
Add IDPF support for the google_compute_instance and google_compute_image.guest_os_features #12256
Conversation
Hello! I am a robot. Tests will require approval from a repository maintainer to run. @SirGitsalot, 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 test reportYour PR includes resource fields which are not covered by any test. Resource: resource "google_compute_instance_from_machine_image" "primary" {
network_interface {
nic_type = # value needed
}
}
Resource: resource "google_compute_instance_from_template" "primary" {
network_interface {
nic_type = # value needed
}
}
|
Tests analyticsTotal tests: 1059 Click here to see the affected service packages
Action takenFound 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
|
🔴 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.
Looks good, just need to revert the test change. Thanks!
@@ -1857,6 +1857,13 @@ func TestAccComputeInstance_nictype_update(t *testing.T) { | |||
t, "google_compute_instance.foobar", &instance), | |||
), | |||
}, | |||
{ | |||
Config: testAccComputeInstance_nictype(instanceName, "IDPF"), |
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.
The test is failing because this config uses an e2-medium
instance and IDPF
is only supported on bare metal instances, the smallest of which is c3-standard-192-metal
. Since this is just an enum value rather than a new field I'm OK with reverting the test addition - spinning up an instance of this size regularly is likely to cause us quota headaches in the future.
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.
Fully agree, I reverted the test and I rebased changes on top of the current main.
Signed-off-by: Norbert Kamiński <[email protected]>
Closes: hashicorp/terraform-provider-google#19671 Signed-off-by: Norbert Kamiński <[email protected]>
05f9702
to
bafac83
Compare
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_compute_instance_from_machine_image" "primary" {
network_interface {
nic_type = # value needed
}
}
Resource: resource "google_compute_instance_from_template" "primary" {
network_interface {
nic_type = # value needed
}
}
|
Tests analyticsTotal tests: 1060 Click here to see the affected service packages
🟢 All tests passed! View the build log |
…mage.guest_os_features (GoogleCloudPlatform#12256) Signed-off-by: Norbert Kamiński <[email protected]>
…mage.guest_os_features (GoogleCloudPlatform#12256) Signed-off-by: Norbert Kamiński <[email protected]>
…mage.guest_os_features (GoogleCloudPlatform#12256) Signed-off-by: Norbert Kamiński <[email protected]>
closes: hashicorp/terraform-provider-google#19671
This patch adds
IDPF
as an possible value of thenic_type
in thegoogle_compute_instance
and addsIDPF
tag to the list ofguestOsFeatures
in the google_compute_image.