Skip to content

Commit 7d271aa

Browse files
authored
docs: regen (#469)
1 parent 8ebebc1 commit 7d271aa

File tree

12 files changed

+67
-25
lines changed

12 files changed

+67
-25
lines changed

docs/data-sources/compute_instance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ directory for complete configuration examples.
4848
- `deploy_target_id` (String) A deploy target ID.
4949
- `disk_size` (Number) The instance disk size (GiB).
5050
- `elastic_ip_ids` (Set of String) The list of attached [exoscale_elastic_ip](../resources/elastic_ip.md) (IDs).
51-
- `enable_secure_boot` (Boolean) Whether secure boot is enabled on the instance.
52-
- `enable_tpm` (Boolean) Whether TPM is enabled on the instance.
51+
- `enable_secure_boot` (Boolean) Indicates if the instance has secure boot enabled.
52+
- `enable_tpm` (Boolean) Indicates if the instance has TPM enabled.
5353
- `ipv6` (Boolean) Whether IPv6 is enabled on the instance.
5454
- `ipv6_address` (String) The instance (main network interface) IPv6 address (if enabled).
5555
- `labels` (Map of String) A map of key/value labels.

docs/data-sources/compute_instance_list.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ directory for complete configuration examples.
5151
- `created_at` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
5252
- `deploy_target_id` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
5353
- `disk_size` (Number) Match against this int
54+
- `enable_secure_boot` (Boolean) Match against this bool
55+
- `enable_tpm` (Boolean) Match against this bool
5456
- `id` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
5557
- `ipv6` (Boolean) Match against this bool
5658
- `ipv6_address` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
@@ -80,8 +82,8 @@ Read-Only:
8082
- `deploy_target_id` (String)
8183
- `disk_size` (Number)
8284
- `elastic_ip_ids` (Set of String)
83-
- `enabled_secure_boot` (Boolean)
84-
- `enabled_tpm` (Boolean)
85+
- `enable_secure_boot` (Boolean)
86+
- `enable_tpm` (Boolean)
8587
- `id` (String)
8688
- `ipv6` (Boolean)
8789
- `ipv6_address` (String)

docs/data-sources/sks_cluster.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ description: |-
2323

2424
- `addons` (Set of String, Deprecated)
2525
- `aggregation_ca` (String) The CA certificate (in PEM format) for TLS communications between the control plane and the aggregation layer (e.g. `metrics-server`).
26+
- `audit` (Block List, Max: 1) Parameters for Kubernetes Audit configuration (may only be enabled at creation time) (see [below for nested schema](#nestedblock--audit))
2627
- `auto_upgrade` (Boolean) Enable automatic upgrading of the control plane version.
2728
- `cni` (String) The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
2829
- `control_plane_ca` (String) The CA certificate (in PEM format) for TLS communications between control plane components.
2930
- `created_at` (String) The cluster creation date.
3031
- `description` (String) A free-form text describing the cluster.
32+
- `enable_karpenter` (Boolean) Indicates whether to deploy Karpenter for cluster autoscaling.
3133
- `enable_kube_proxy` (Boolean) ❗ Indicates whether to deploy the Kubernetes network proxy. (may only be set at creation time)
3234
- `endpoint` (String) The cluster API endpoint.
3335
- `exoscale_ccm` (Boolean) Deploy the Exoscale [Cloud Controller Manager](https://github.com/exoscale/exoscale-cloud-controller-manager/) in the control plane (boolean; default: `true`; may only be set at creation time).
@@ -47,6 +49,17 @@ description: |-
4749

4850
- `id` (String) The ID of this resource.
4951

52+
<a id="nestedblock--audit"></a>
53+
### Nested Schema for `audit`
54+
55+
Optional:
56+
57+
- `bearer_token` (String, Sensitive) The optional bearer token to include in the request header
58+
- `enabled` (Boolean) Whether to run the APIServer with the configured Kubernetes Audit
59+
- `endpoint` (String) The Endpoint URL for the Webserver responsible of processing Audit events
60+
- `initial_backoff` (String) The Initial Backoff to wait before sending data to the remote server (default '10s')
61+
62+
5063
<a id="nestedblock--oidc"></a>
5164
### Nested Schema for `oidc`
5265

docs/data-sources/sks_cluster_list.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ description: |-
2727
- `control_plane_ca` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
2828
- `created_at` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
2929
- `description` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
30+
- `enable_karpenter` (Boolean) Match against this bool
3031
- `enable_kube_proxy` (Boolean) Match against this bool
3132
- `endpoint` (String) Match against this string. If you supply a string that begins and ends with a "/" it will be matched as a regex.
3233
- `exoscale_ccm` (Boolean) Match against this bool
@@ -51,11 +52,13 @@ Read-Only:
5152

5253
- `addons` (Set of String)
5354
- `aggregation_ca` (String)
55+
- `audit` (List of Object) (see [below for nested schema](#nestedobjatt--clusters--audit))
5456
- `auto_upgrade` (Boolean)
5557
- `cni` (String)
5658
- `control_plane_ca` (String)
5759
- `created_at` (String)
5860
- `description` (String)
61+
- `enable_karpenter` (Boolean)
5962
- `enable_kube_proxy` (Boolean)
6063
- `endpoint` (String)
6164
- `exoscale_ccm` (Boolean)
@@ -73,6 +76,17 @@ Read-Only:
7376
- `version` (String)
7477
- `zone` (String)
7578

79+
<a id="nestedobjatt--clusters--audit"></a>
80+
### Nested Schema for `clusters.audit`
81+
82+
Read-Only:
83+
84+
- `bearer_token` (String)
85+
- `enabled` (Boolean)
86+
- `endpoint` (String)
87+
- `initial_backoff` (String)
88+
89+
7690
<a id="nestedobjatt--clusters--oidc"></a>
7791
### Nested Schema for `clusters.oidc`
7892

docs/resources/compute_instance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,16 @@ directory for complete configuration examples.
5555
- `deploy_target_id` (String) ❗ A deploy target ID.
5656
- `destroy_protected` (Boolean) Mark the instance as protected, the Exoscale API will refuse to delete the instance until the protection is removed (boolean; default: `false`).
5757
- `elastic_ip_ids` (Set of String) A list of [exoscale_elastic_ip](./elastic_ip.md) (IDs) to attach to the instance.
58-
- `enable_secure_boot` (Boolean) Indicates whether secure boot is enabled on the instance.
59-
- `enable_tpm` (Boolean) Indicates whether TPM is enabled on the instance.
58+
- `enable_secure_boot` (Boolean) ❗ Enable secure boot on the instance (boolean; default: `false`). Can not be changed after the creation.
59+
- `enable_tpm` (Boolean) Enable TPM on the instance (boolean; default: `false`). Can not be disabled after the creation. **WARNING**: enabling this attribute stops/restarts the instance.
6060
- `ipv6` (Boolean) Enable IPv6 on the instance (boolean; default: `false`).
6161
- `labels` (Map of String) A map of key/value labels.
6262
- `network_interface` (Block Set) Private network interfaces (may be specified multiple times). Structure is documented below. (see [below for nested schema](#nestedblock--network_interface))
6363
- `private` (Boolean) Whether the instance is private (no public IP addresses; default: false)
6464
- `reverse_dns` (String) Domain name for reverse DNS record.
6565
- `security_group_ids` (Set of String) A list of [exoscale_security_group](./security_group.md) (IDs) to attach to the instance.
66-
- `ssh_key` (String, Deprecated) The [exoscale_ssh_key](./ssh_key.md) (name) to authorize in the instance (may only be set at creation time).
67-
- `ssh_keys` (Set of String) The list of [exoscale_ssh_key](./ssh_key.md) (name) to authorize in the instance (may only be set at creation time).
66+
- `ssh_key` (String, Deprecated) The [exoscale_ssh_key](./ssh_key.md) (name) to authorize in the instance (may only be set at creation time).
67+
- `ssh_keys` (Set of String) The list of [exoscale_ssh_key](./ssh_key.md) (name) to authorize in the instance (may only be set at creation time).
6868
- `state` (String) The instance state (`running` or `stopped`; default: `running`).
6969
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))
7070
- `user_data` (String) [cloud-init](https://cloudinit.readthedocs.io/) configuration.

docs/resources/sks_cluster.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@ directory for complete configuration examples.
3838
### Optional
3939

4040
- `addons` (Set of String, Deprecated)
41+
- `audit` (Block List, Max: 1) Parameters for Kubernetes Audit configuration (may only be enabled at creation time) (see [below for nested schema](#nestedblock--audit))
4142
- `auto_upgrade` (Boolean) Enable automatic upgrading of the control plane version.
4243
- `cni` (String) The CNI plugin that is to be used. Available options are "calico" or "cilium". Defaults to "calico". Setting empty string will result in a cluster with no CNI.
4344
- `description` (String) A free-form text describing the cluster.
45+
- `enable_karpenter` (Boolean) Indicates whether to deploy Karpenter for cluster autoscaling.
4446
- `enable_kube_proxy` (Boolean) ❗ Indicates whether to deploy the Kubernetes network proxy. (may only be set at creation time)
4547
- `exoscale_ccm` (Boolean) Deploy the Exoscale [Cloud Controller Manager](https://github.com/exoscale/exoscale-cloud-controller-manager/) in the control plane (boolean; default: `true`; may only be set at creation time).
4648
- `exoscale_csi` (Boolean) Deploy the Exoscale [Container Storage Interface](https://github.com/exoscale/exoscale-csi-driver/) on worker nodes (boolean; default: `false`; requires the CCM to be enabled).
@@ -63,6 +65,17 @@ directory for complete configuration examples.
6365
- `nodepools` (Set of String) The list of [exoscale_sks_nodepool](./sks_nodepool.md) (IDs) attached to the cluster.
6466
- `state` (String) The cluster state.
6567

68+
<a id="nestedblock--audit"></a>
69+
### Nested Schema for `audit`
70+
71+
Optional:
72+
73+
- `bearer_token` (String, Sensitive) The optional bearer token to include in the request header
74+
- `enabled` (Boolean) Whether to run the APIServer with the configured Kubernetes Audit
75+
- `endpoint` (String) The Endpoint URL for the Webserver responsible of processing Audit events
76+
- `initial_backoff` (String) The Initial Backoff to wait before sending data to the remote server (default '10s')
77+
78+
6679
<a id="nestedblock--oidc"></a>
6780
### Nested Schema for `oidc`
6881

examples/dbaas/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ resource "exoscale_dbaas" "postgres" {
99
type = "pg"
1010
zone = local.my_zone
1111
pg {
12-
admin_username = "${var.database_username}"
13-
admin_password = "${var.database_password}"
14-
ip_filter = ["0.0.0.0/0"]
15-
version = "16"
12+
admin_username = var.database_username
13+
admin_password = var.database_password
14+
ip_filter = ["0.0.0.0/0"]
15+
version = "16"
1616
}
1717
}

examples/dbaas/providers.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
terraform {
22
required_providers {
33
exoscale = {
4-
source = "exoscale/exoscale"
4+
source = "exoscale/exoscale"
55
}
66
}
77
}
88

99
provider "exoscale" {
10-
key = "${var.exoscale_api_key}"
11-
secret = "${var.exoscale_secret_key}"
10+
key = var.exoscale_api_key
11+
secret = var.exoscale_secret_key
1212
}

examples/dbaas/variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ variable "exoscale_api_key" {
33
}
44

55
variable "exoscale_secret_key" {
6-
default = "api_secret_key_value_here"
6+
default = "api_secret_key_value_here"
77
}
88

99
variable "database_username" {
10-
default = "database_username_here"
10+
default = "database_username_here"
1111
}
1212

1313
variable "database_password" {
14-
default = "database_password_here"
14+
default = "database_password_here"
1515
}

examples/sks-with-private-network/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ resource "exoscale_sks_cluster" "my_sks_cluster" {
1818
}
1919

2020
resource "exoscale_sks_nodepool" "my_sks_nodepool" {
21-
cluster_id = exoscale_sks_cluster.my_sks_cluster.id
22-
zone = exoscale_sks_cluster.my_sks_cluster.zone
23-
name = "my-sks-nodepool"
21+
cluster_id = exoscale_sks_cluster.my_sks_cluster.id
22+
zone = exoscale_sks_cluster.my_sks_cluster.zone
23+
name = "my-sks-nodepool"
2424

2525
instance_type = "standard.medium"
2626
size = 3

0 commit comments

Comments
 (0)