Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
alexhermida committed Mar 20, 2024
1 parent ddf1d3d commit 82e45e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/resources/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ resource "nftower_credentials" "github" {
### Optional

- `aws` (Block List, Max: 1) Stores an AWS IAM access key. (see [below for nested schema](#nestedblock--aws))
- `container_registry` (Block List, Max: 1) Stores an container registry credentials. (see [below for nested schema](#nestedblock--container_registry))
- `container_registry` (Block List, Max: 1) Stores container registry credentials. (see [below for nested schema](#nestedblock--container_registry))
- `description` (String) The description of the credentials.
- `github` (Block List, Max: 1) Stores a github access token. (see [below for nested schema](#nestedblock--github))
- `gitlab` (Block List, Max: 1) Stores a gitlab access token. (see [below for nested schema](#nestedblock--gitlab))
Expand Down Expand Up @@ -85,7 +85,7 @@ Required:

Optional:

- `registry_server` (String) Registry server nam e.g. docker.io
- `registry_server` (String) Registry server name e.g. <aws_account_id>.dkr.ecr.<region>.amazonaws.com


<a id="nestedblock--github"></a>
Expand Down
4 changes: 2 additions & 2 deletions internal/provider/resource_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func resourceCredentials() *schema.Resource {
},
},
"container_registry": {
Description: "Stores an container registry credentials.",
Description: "Stores container registry credentials.",
Type: schema.TypeList,
Optional: true,
ForceNew: true,
Expand All @@ -98,7 +98,7 @@ func resourceCredentials() *schema.Resource {
},
"registry_server": {
Type: schema.TypeString,
Description: "Registry server nam e.g. docker.io",
Description: "Registry server name e.g. <aws_account_id>.dkr.ecr.<region>.amazonaws.com",
Optional: true,
},
},
Expand Down

0 comments on commit 82e45e7

Please sign in to comment.