Skip to content

Commit

Permalink
CD: Field description updates for PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarjoram authored and ADYA NAND JHA committed Feb 2, 2023
1 parent 2d55208 commit 79ce830
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ func DataSourceIBMCdToolchainToolGithubconsolidated() *schema.Resource {
"auth_type": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Select the method of authentication that will be used to access the git provider.",
Description: "Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.",
},
"api_token": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Sensitive: true,
Description: "Personal Access Token.",
Description: "Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.",
},
"toolchain_issues_enabled": &schema.Schema{
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ func DataSourceIBMCdToolchainToolGitlab() *schema.Resource {
"auth_type": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Select the method of authentication that will be used to access the git provider.",
Description: "Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.",
},
"api_token": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Sensitive: true,
Description: "Personal Access Token.",
Description: "Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.",
},
"toolchain_issues_enabled": &schema.Schema{
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ func DataSourceIBMCdToolchainToolHostedgit() *schema.Resource {
"auth_type": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Description: "Select the method of authentication that will be used to access the git provider.",
Description: "Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.",
},
"api_token": &schema.Schema{
Type: schema.TypeString,
Computed: true,
Sensitive: true,
Description: "Personal Access Token.",
Description: "Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.",
},
"toolchain_issues_enabled": &schema.Schema{
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ func ResourceIBMCdToolchainToolGithubconsolidated() *schema.Resource {
"auth_type": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Description: "Select the method of authentication that will be used to access the git provider.",
Description: "Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.",
},
"api_token": &schema.Schema{
Type: schema.TypeString,
Optional: true,
DiffSuppressFunc: flex.SuppressHashedRawSecret,
Sensitive: true,
Description: "Personal Access Token.",
Description: "Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.",
},
"toolchain_issues_enabled": &schema.Schema{
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ func ResourceIBMCdToolchainToolGitlab() *schema.Resource {
"auth_type": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Description: "Select the method of authentication that will be used to access the git provider.",
Description: "Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.",
},
"api_token": &schema.Schema{
Type: schema.TypeString,
Optional: true,
DiffSuppressFunc: flex.SuppressHashedRawSecret,
Sensitive: true,
Description: "Personal Access Token.",
Description: "Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.",
},
"toolchain_issues_enabled": &schema.Schema{
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,14 @@ func ResourceIBMCdToolchainToolHostedgit() *schema.Resource {
"auth_type": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Description: "Select the method of authentication that will be used to access the git provider.",
Description: "Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.",
},
"api_token": &schema.Schema{
Type: schema.TypeString,
Optional: true,
DiffSuppressFunc: flex.SuppressHashedRawSecret,
Sensitive: true,
Description: "Personal Access Token.",
Description: "Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.",
},
"toolchain_issues_enabled": &schema.Schema{
Type: schema.TypeBool,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ In addition to all argument references listed, you can access the following attr
* `parameters` - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-integrations">Configuring tool integrations page</a>.
Nested scheme for **parameters**:
* `api_root_url` - (String) The API root URL for the GitHub server.
* `api_token` - (String) Personal Access Token.
* `auth_type` - (String) Select the method of authentication that will be used to access the git provider.
* `api_token` - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
* `auth_type` - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
* Constraints: Allowable values are: `oauth`, `pat`.
* `auto_init` - (Boolean) Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.
* Constraints: The default value is `false`.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/cd_toolchain_tool_gitlab.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ In addition to all argument references listed, you can access the following attr
* `parameters` - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-integrations">Configuring tool integrations page</a>.
Nested scheme for **parameters**:
* `api_root_url` - (String) The API root URL for the GitLab Server.
* `api_token` - (String) Personal Access Token.
* `auth_type` - (String) Select the method of authentication that will be used to access the git provider.
* `api_token` - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
* `auth_type` - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
* Constraints: Allowable values are: `oauth`, `pat`.
* `default_branch` - (String) The default branch of the git repository.
* `enable_traceability` - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/cd_toolchain_tool_hostedgit.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ In addition to all argument references listed, you can access the following attr
* `parameters` - (List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-integrations">Configuring tool integrations page</a>.
Nested scheme for **parameters**:
* `api_root_url` - (String) The API root URL for the GitLab server.
* `api_token` - (String) Personal Access Token.
* `auth_type` - (String) Select the method of authentication that will be used to access the git provider.
* `api_token` - (String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
* `auth_type` - (String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
* Constraints: Allowable values are: `oauth`, `pat`.
* `default_branch` - (String) The default branch of the git repository.
* `enable_traceability` - (Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ Nested scheme for **initialization**:
* `parameters` - (Required, List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-integrations">Configuring tool integrations page</a>.
Nested scheme for **parameters**:
* `api_root_url` - (Computed, String) The API root URL for the GitHub server.
* `api_token` - (Optional, String) Personal Access Token.
* `auth_type` - (Optional, String) Select the method of authentication that will be used to access the git provider.
* `api_token` - (Optional, String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
* `auth_type` - (Optional, String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
* Constraints: Allowable values are: `oauth`, `pat`.
* `auto_init` - (Computed, Boolean) Setting this value to true will initialize this repository with a README. This parameter is only used when creating a new repository.
* Constraints: The default value is `false`.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cd_toolchain_tool_gitlab.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ Nested scheme for **initialization**:
* `parameters` - (Required, List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-integrations">Configuring tool integrations page</a>.
Nested scheme for **parameters**:
* `api_root_url` - (Computed, String) The API root URL for the GitLab Server.
* `api_token` - (Optional, String) Personal Access Token.
* `auth_type` - (Optional, String) Select the method of authentication that will be used to access the git provider.
* `api_token` - (Optional, String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
* `auth_type` - (Optional, String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
* Constraints: Allowable values are: `oauth`, `pat`.
* `default_branch` - (Computed, String) The default branch of the git repository.
* `enable_traceability` - (Optional, Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
Expand Down
4 changes: 2 additions & 2 deletions website/docs/r/cd_toolchain_tool_hostedgit.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ Nested scheme for **initialization**:
* `parameters` - (Required, List) Unique key-value pairs representing parameters to be used to create the tool. A list of parameters for each tool integration can be found in the <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-integrations">Configuring tool integrations page</a>.
Nested scheme for **parameters**:
* `api_root_url` - (Computed, String) The API root URL for the GitLab server.
* `api_token` - (Optional, String) Personal Access Token.
* `auth_type` - (Optional, String) Select the method of authentication that will be used to access the git provider.
* `api_token` - (Optional, String) Personal Access Token. Required if ‘auth_type’ is set to ‘pat’, ignored otherwise.
* `auth_type` - (Optional, String) Select the method of authentication that will be used to access the git provider. The default value is 'oauth'.
* Constraints: Allowable values are: `oauth`, `pat`.
* `default_branch` - (Computed, String) The default branch of the git repository.
* `enable_traceability` - (Optional, Boolean) Set this value to 'true' to track the deployment of code changes by creating tags, labels and comments on commits, pull requests and referenced issues.
Expand Down

0 comments on commit 79ce830

Please sign in to comment.