Skip to content

Commit

Permalink
Fixed name type on service account resource and data source (#18)
Browse files Browse the repository at this point in the history
Fixed name type
  • Loading branch information
tuteng authored Jan 16, 2024
1 parent ce16ef5 commit 5a2e9ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cloud/data_source_service_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func dataSourceServiceAccount() *schema.Resource {
},
"name": {
Type: schema.TypeString,
Optional: true,
Required: true,
Description: descriptions["name"],
ValidateFunc: validateNotBlank,
},
Expand Down
2 changes: 1 addition & 1 deletion cloud/resource_service_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func resourceServiceAccount() *schema.Resource {
},
"name": {
Type: schema.TypeString,
Optional: true,
Required: true,
Description: descriptions["name"],
ValidateFunc: validateNotBlank,
},
Expand Down
5 changes: 1 addition & 4 deletions docs/data-sources/service_account.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ description: |-

### Required

- `organization` (String) The organization name

### Optional

- `name` (String) The service account name
- `organization` (String) The organization name

### Read-Only

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 @@ -17,12 +17,12 @@ description: |-

### Required

- `name` (String) The service account name
- `organization` (String) The organization name

### Optional

- `admin` (Boolean) Whether the service account is admin
- `name` (String) The service account name

### Read-Only

Expand Down

0 comments on commit 5a2e9ec

Please sign in to comment.