Skip to content

Commit

Permalink
Generate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yihao committed Aug 25, 2023
1 parent d0c7ea8 commit 5c41560
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/kubernetes_cluster_deployment_targets.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Read-Only:
- `authentication` (List of Object) (see [below for nested schema](#nestedatt--kubernetes_cluster_deployment_targets--authentication))
- `aws_account_authentication` (List of Object) (see [below for nested schema](#nestedatt--kubernetes_cluster_deployment_targets--aws_account_authentication))
- `azure_service_principal_authentication` (List of Object) (see [below for nested schema](#nestedatt--kubernetes_cluster_deployment_targets--azure_service_principal_authentication))
- `certificate_authentication` (Set of Object) (see [below for nested schema](#nestedatt--kubernetes_cluster_deployment_targets--certificate_authentication))
- `certificate_authentication` (List of Object) (see [below for nested schema](#nestedatt--kubernetes_cluster_deployment_targets--certificate_authentication))
- `cluster_certificate` (String)
- `cluster_url` (String)
- `container` (List of Object) (see [below for nested schema](#nestedatt--kubernetes_cluster_deployment_targets--container))
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/machine_policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Provides information about existing machine policies.

Read-Only:

- `connection_connect_timeout` (Number)
- `connection_connect_timeout` (Number) In nanoseconds, no less than 10 seconds (10000000000)
- `connection_retry_count_limit` (Number)
- `connection_retry_sleep_interval` (Number)
- `connection_retry_time_limit` (Number)
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/kubernetes_cluster_deployment_target.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "octopusdeploy_kubernetes_cluster_deployment_target" "k8s-target" {
- `authentication` (Block List, Max: 1) (see [below for nested schema](#nestedblock--authentication))
- `aws_account_authentication` (Block List, Max: 1) (see [below for nested schema](#nestedblock--aws_account_authentication))
- `azure_service_principal_authentication` (Block List, Max: 1) (see [below for nested schema](#nestedblock--azure_service_principal_authentication))
- `certificate_authentication` (Block Set, Max: 1) (see [below for nested schema](#nestedblock--certificate_authentication))
- `certificate_authentication` (Block List, Max: 1) (see [below for nested schema](#nestedblock--certificate_authentication))
- `cluster_certificate` (String)
- `container` (Block List) (see [below for nested schema](#nestedblock--container))
- `default_worker_pool_id` (String)
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/machine_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This resource manages machine policies in Octopus Deploy.

### Optional

- `connection_connect_timeout` (Number)
- `connection_connect_timeout` (Number) In nanoseconds, no less than 10 seconds (10000000000)
- `connection_retry_count_limit` (Number)
- `connection_retry_sleep_interval` (Number)
- `connection_retry_time_limit` (Number)
Expand Down
7 changes: 4 additions & 3 deletions octopusdeploy/schema_machine_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ func getMachinePolicyDataSchema() map[string]*schema.Schema {
func getMachinePolicySchema() map[string]*schema.Schema {
return map[string]*schema.Schema{
"connection_connect_timeout": {
Default: time.Minute,
Optional: true,
Type: schema.TypeInt,
Default: time.Minute,
Optional: true,
Type: schema.TypeInt,
Description: "In nanoseconds, no less than 10 seconds (10000000000)",
},
"connection_retry_count_limit": {
Default: 5,
Expand Down

0 comments on commit 5c41560

Please sign in to comment.