Skip to content

Commit

Permalink
fix building error in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
karolgorc committed Jan 10, 2025
1 parent cd6c6c1 commit 6e799aa
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ func ResourceComputeInstance() *schema.Resource {
Computed: true,
ForceNew: true,
DiffSuppressFunc: DiskImageDiffSuppress,
ConflictsWith: []string{"boot_disk.0.initialize_params.0.snapshot", "boot_disk.0.initialize_params.0.source_snapshot_encryption_key"},
Description: `The image from which this disk was initialised.`,
},

Expand All @@ -354,7 +353,6 @@ func ResourceComputeInstance() *schema.Resource {
Optional: true,
AtLeastOneOf: initializeParamsKeys,
MaxItems: 1,
ConflictsWith: []string{"boot_disk.0.initialize_params.0.snapshot", "boot_disk.0.initialize_params.0.source_snapshot_encryption_key"},
Description: `The encryption key used to decrypt the source image.`,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down Expand Up @@ -409,7 +407,6 @@ func ResourceComputeInstance() *schema.Resource {
Computed: true,
ForceNew: true,
DiffSuppressFunc: tpgresource.CompareSelfLinkOrResourceName,
ConflictsWith: []string{"boot_disk.0.initialize_params.0.image", "boot_disk.0.initialize_params.0.source_image_encryption_key"},
Description: `The snapshot from which this disk was initialised.`,
},

Expand All @@ -418,7 +415,6 @@ func ResourceComputeInstance() *schema.Resource {
Optional: true,
AtLeastOneOf: initializeParamsKeys,
MaxItems: 1,
ConflictsWith: []string{"boot_disk.0.initialize_params.0.image", "boot_disk.0.initialize_params.0.source_image_encryption_key"},
Description: `The encryption key used to decrypt the source snapshot.`,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down

0 comments on commit 6e799aa

Please sign in to comment.