Skip to content

Commit 748a387

Browse files
Run version guard checks on PRs (#10347) (#17766)
[upstream:e200cd193d96da76fa531fd3173fc3f6b0dd7bf8] Signed-off-by: Modular Magician <[email protected]>
1 parent a3c36c1 commit 748a387

7 files changed

+3
-13
lines changed

.changelog/10347.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google/services/compute/resource_compute_instance.go

-1
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,6 @@ be from 0 to 999,999,999 inclusive.`,
919919
Description: `The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.`,
920920
Elem: &schema.Resource{
921921
Schema: map[string]*schema.Schema{
922-
923922
"enable_confidential_compute": {
924923
Type: schema.TypeBool,
925924
Required: true,

google/services/compute/resource_compute_instance_template.go

-1
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,6 @@ be from 0 to 999,999,999 inclusive.`,
807807
Description: `The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.`,
808808
Elem: &schema.Resource{
809809
Schema: map[string]*schema.Schema{
810-
811810
"enable_confidential_compute": {
812811
Type: schema.TypeBool,
813812
Required: true,

google/services/compute/resource_compute_instance_template_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -2873,7 +2873,6 @@ resource "google_compute_instance_template" "foobar" {
28732873
28742874
confidential_instance_config {
28752875
enable_confidential_compute = true
2876-
28772876
}
28782877
28792878
scheduling {
@@ -2882,9 +2881,7 @@ resource "google_compute_instance_template" "foobar" {
28822881
28832882
}
28842883
2885-
28862884
`, suffix)
2887-
28882885
}
28892886

28902887
func testAccComputeInstanceTemplateAdvancedMachineFeatures(suffix string) string {

google/services/compute/resource_compute_instance_test.go

-4
Original file line numberDiff line numberDiff line change
@@ -1801,7 +1801,6 @@ func TestAccComputeInstanceConfidentialInstanceConfigMain(t *testing.T) {
18011801
t.Parallel()
18021802

18031803
var instance compute.Instance
1804-
18051804
instanceName := fmt.Sprintf("tf-test-%s", acctest.RandString(t, 10))
18061805

18071806
acctest.VcrTest(t, resource.TestCase{
@@ -6650,7 +6649,6 @@ resource "google_compute_instance" "foobar" {
66506649
66516650
confidential_instance_config {
66526651
enable_confidential_compute = true
6653-
66546652
}
66556653
66566654
scheduling {
@@ -6659,9 +6657,7 @@ resource "google_compute_instance" "foobar" {
66596657
66606658
}
66616659
6662-
66636660
`, instance)
6664-
66656661
}
66666662

66676663
func testAccComputeInstance_attributionLabelCreate(instance, add, strategy string) string {

google/services/compute/resource_compute_region_instance_template.go

-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,6 @@ be from 0 to 999,999,999 inclusive.`,
775775
Description: `The Confidential VM config being used by the instance. on_host_maintenance has to be set to TERMINATE or this will fail to create.`,
776776
Elem: &schema.Resource{
777777
Schema: map[string]*schema.Schema{
778-
779778
"enable_confidential_compute": {
780779
Type: schema.TypeBool,
781780
Required: true,

google/services/compute/resource_compute_region_instance_template_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -2579,7 +2579,6 @@ resource "google_compute_region_instance_template" "foobar" {
25792579
25802580
confidential_instance_config {
25812581
enable_confidential_compute = true
2582-
25832582
}
25842583
25852584
scheduling {
@@ -2588,9 +2587,7 @@ resource "google_compute_region_instance_template" "foobar" {
25882587
25892588
}
25902589
2591-
25922590
`, suffix)
2593-
25942591
}
25952592

25962593
func testAccComputeRegionInstanceTemplateAdvancedMachineFeatures(suffix string) string {

0 commit comments

Comments
 (0)