Skip to content

Commit

Permalink
(r)igm imports for customdiff (#2623)
Browse files Browse the repository at this point in the history
* (r)igm imports for customdiff

* Fix schema issues
  • Loading branch information
slevenick authored and chrisst committed Nov 8, 2019
1 parent 22503b3 commit 0dbe038
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"strings"
"time"

"github.com/hashicorp/terraform-plugin-sdk/helper/customdiff"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
Expand Down Expand Up @@ -93,7 +94,6 @@ func resourceComputeInstanceGroupManager() *schema.Resource {
Optional: true,
Computed: true,
Removed: "This field has been replaced by `version.instance_template`",
ConflictsWith: []string{"version"},
DiffSuppressFunc: compareSelfLinkRelativePaths,
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"strings"
"time"

"github.com/hashicorp/terraform-plugin-sdk/helper/customdiff"
"github.com/hashicorp/terraform-plugin-sdk/helper/hashcode"
"github.com/hashicorp/terraform-plugin-sdk/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
Expand Down Expand Up @@ -89,8 +90,9 @@ func resourceComputeRegionInstanceGroupManager() *schema.Resource {
},

"instance_template": {
Type: schema.TypeString,
Removed: "This field has been replaced by `version.instance_template` in 3.0.0",
Type: schema.TypeString,
Optional: true,
Removed: "This field has been replaced by `version.instance_template` in 3.0.0",
},

"version": {
Expand Down

0 comments on commit 0dbe038

Please sign in to comment.