Skip to content

Commit

Permalink
feat: [PL-56822]: Modified validation for Resource Group
Browse files Browse the repository at this point in the history
  • Loading branch information
niketan-nath authored Sep 6, 2024
1 parent 9aa2f69 commit 74f19bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/platform/resource_group/resource_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func ResourceResourceGroup() *schema.Resource {
Description: "Name of the attribute. Valid values are `category` or `type`.",
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringInSlice([]string{"category", "type"}, false),
ValidateFunc: validation.StringInSlice([]string{"category", "type", "labels"}, false),
},
"attribute_values": {
Description: "Value of the attributes.Valid values for `category` are [ARTIFACTORY,CLOUD_COST,CLOUD_PROVIDER,CODE_REPO,MONITORING,SECRET_MANAGER,TICKETING] and for `type` are [Production,PreProduction]",
Expand Down

0 comments on commit 74f19bb

Please sign in to comment.