Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/data-sources/service_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ output "service_account" {

### Read-Only

- `account_access` (String) The role on the account. Must be one of admin, developer, or read (case-insensitive).
- `account_access` (String) The role on the account. Must be one of admin, developer, read, or metricsread (case-insensitive).
- `created_at` (String) The creation time of the Service Account.
- `description` (String) The description of the Service Account.
- `name` (String) The name associated with the service account.
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/service_accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Optional:

Read-Only:

- `account_access` (String) The role on the account. Must be one of admin, developer, or read (case-insensitive).
- `account_access` (String) The role on the account. Must be one of admin, developer, read, or metricsread (case-insensitive).
- `created_at` (String) The creation time of the Service Account.
- `description` (String) The description of the Service Account.
- `id` (String) The unique identifier of the Service Account.
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 @@ -54,7 +54,7 @@ resource "temporalcloud_service_account" "namespace_admin" {

### Required

- `account_access` (String) The role on the account. Must be one of admin, developer, or read (case-insensitive).
- `account_access` (String) The role on the account. Must be one of admin, developer, read, or metricsread (case-insensitive).
- `name` (String) The name associated with the service account.

### Optional
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/service_account_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (r *serviceAccountResource) Schema(ctx context.Context, _ resource.SchemaRe
},
"account_access": schema.StringAttribute{
CustomType: internaltypes.CaseInsensitiveStringType{},
Description: "The role on the account. Must be one of admin, developer, or read (case-insensitive).",
Description: "The role on the account. Must be one of admin, developer, read, or metricsread (case-insensitive).",
Required: true,
Validators: []validator.String{
stringvalidator.OneOfCaseInsensitive(enums.AllowedAccountAccessRoles()...),
Expand Down
2 changes: 1 addition & 1 deletion internal/provider/service_accounts_datasource.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func serviceAccountSchema(idRequired bool) map[string]schema.Attribute {
},
"account_access": schema.StringAttribute{
CustomType: internaltypes.CaseInsensitiveStringType{},
Description: "The role on the account. Must be one of admin, developer, or read (case-insensitive).",
Description: "The role on the account. Must be one of admin, developer, read, or metricsread (case-insensitive).",
Computed: true,
},
"namespace_accesses": schema.SetNestedAttribute{
Expand Down
Loading