Skip to content

Commit

Permalink
[datadog_service_account][datadog_user] Fix typo in service_account a…
Browse files Browse the repository at this point in the history
…nd user (#2512)

Co-authored-by: Jean-hadrien DAMAY <[email protected]>
  • Loading branch information
JHPart and Jean-hadrien DAMAY authored Aug 14, 2024
1 parent dc78edd commit 0d676c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion datadog/fwprovider/resource_datadog_service_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (r *serviceAccountResource) Schema(_ context.Context, _ resource.SchemaRequ
Required: true,
},
"roles": schema.SetAttribute{
Description: "A list a role IDs to assign to the service account.",
Description: "A list of role IDs to assign to the service account.",
Optional: true,
Computed: true,
ElementType: types.StringType,
Expand Down
2 changes: 1 addition & 1 deletion datadog/resource_datadog_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func resourceDatadogUser() *schema.Resource {
Optional: true,
},
"roles": {
Description: "A list a role IDs to assign to the user.",
Description: "A list of role IDs to assign to the user.",
Type: schema.TypeSet,
Optional: true,
Computed: true,
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/service_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "datadog_service_account" "bar" {

- `disabled` (Boolean) Whether the service account is disabled. Defaults to `false`.
- `name` (String) Name for the service account.
- `roles` (Set of String) A list a role IDs to assign to the service account.
- `roles` (Set of String) A list of role IDs to assign to the service account.

### Read-Only

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ resource "datadog_user" "foo" {

- `disabled` (Boolean) Whether the user is disabled. Defaults to `false`.
- `name` (String) Name for user.
- `roles` (Set of String) A list a role IDs to assign to the user.
- `roles` (Set of String) A list of role IDs to assign to the user.
- `send_user_invitation` (Boolean) Whether an invitation email should be sent when the user is created. Defaults to `true`.

### Read-Only
Expand Down

0 comments on commit 0d676c3

Please sign in to comment.