Skip to content

Commit

Permalink
NSOF-7490 provider/policy: Update policy validations fields in tf plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
gfleischer-meta committed Apr 20, 2023
1 parent aec6307 commit ad7d452
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/provider/policy/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func Resource() *schema.Resource {
Type: schema.TypeSet,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateDiagFunc: common.ValidateID(false, "usr", "grp", "ne", "dev"),
ValidateDiagFunc: common.ValidateID(false, "usr", "grp", "ne", "dev", "mp"),
},
Optional: true,
},
Expand All @@ -43,7 +43,7 @@ func Resource() *schema.Resource {
Type: schema.TypeSet,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateDiagFunc: common.ValidateID(false, "usr", "grp", "ne", "dev"),
ValidateDiagFunc: common.ValidateID(false, "usr", "grp", "ne", "dev", "ab", "mc"),
},
Optional: true,
},
Expand All @@ -52,7 +52,7 @@ func Resource() *schema.Resource {
Type: schema.TypeSet,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateDiagFunc: common.ValidateID(false, "usr", "grp", "ne", "dev"),
ValidateDiagFunc: common.ValidateID(false, "usr", "grp", "ne", "dev", "mc"),
},
Optional: true,
},
Expand Down

0 comments on commit ad7d452

Please sign in to comment.