You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/cluster.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ The following arguments are supported:
25
25
The following attributes are exported:
26
26
27
27
*`id` - (Computed) The ID of the resource (string)
28
+
*`agent_env_vars` - (Computed) Optional Agent Env Vars for Rancher agent. Just for Rancher v2.5.6 and above (list)
28
29
*`cluster_registration_token` - (Computed) Cluster Registration Token generated for the cluster (list maxitems:1)
29
30
*`default_project_id` - (Computed) Default project ID for the cluster (string)
30
31
*`driver` - (Computed) The driver used for the Cluster. `imported`, `azurekubernetesservice`, `amazonelasticcontainerservice`, `googlekubernetesengine` and `rancherKubernetesEngine` are supported (string)
*`name` - (Required) The name of the Cluster (string)
508
+
*`agent_env_vars` - (Optional) Optional Agent Env Vars for Rancher agent. Just for Rancher v2.5.6 and above (list)
508
509
*`rke_config` - (Optional/Computed) The RKE configuration for `rke` Clusters. Conflicts with `aks_config`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` and `k3s_config` (list maxitems:1)
509
510
*`rke2_config` - (Optional/Computed) The RKE2 configuration for `rke2` Clusters. Conflicts with `aks_config`, `eks_config`, `gke_config`, `oke_config`, `k3s_config` and `rke_config` (list maxitems:1)
510
511
*`k3s_config` - (Optional/Computed) The K3S configuration for `k3s` imported Clusters. Conflicts with `aks_config`, `eks_config`, `eks_config_v2`, `gke_config`, `gke_config_v2`, `oke_config` and `rke_config` (list maxitems:1)
@@ -558,6 +559,13 @@ The following attributes are exported:
558
559
559
560
## Nested blocks
560
561
562
+
### `agent_env_vars`
563
+
564
+
#### Arguments
565
+
566
+
*`name` - (Required) Rancher agent env var name (string)
567
+
*`value` - (Required) Rancher agent env var value (string)
568
+
561
569
### `rke_config`
562
570
563
571
**Note**`rke_config` works the same as within Rancher GUI; it will not _provision_ hosts when using no `cloud_provider` or when `cloud_provider` is set to custom. It is expected that nodes are registered by having the `node_command` run on each node. Running the `node_command` is outside the scope of this provider.
@@ -1479,11 +1487,13 @@ The following arguments are supported:
1479
1487
*`node_pool_subnet_name` - (Optional) Name for node pool subnet. Default `nodedns` (string)
1480
1488
*`node_public_key_contents` - (Optional) The contents of the SSH public key file to use for the nodes (string)
1481
1489
*`node_shape` - (Required) The shape of the node (determines number of CPUs and amount of memory on each OKE node) (string)
1490
+
*`pod_cidr` - (Optional) A CIDR IP range from which to assign Kubernetes Pod IPs (string)
1482
1491
*`private_key_contents` - (Required/Sensitive) The private API key file contents for the specified user, in PEM format (string)
1483
1492
*`private_key_passphrase` - (Optional/Sensitive) The passphrase (if any) of the private key for the OKE cluster (string)
1484
1493
*`quantity_of_node_subnets` - (Optional) Number of node subnets. Default `1` (int)
1485
1494
*`quantity_per_subnet` - (Optional) Number of OKE worker nodes in each subnet / availability domain. Default `1` (int)
1486
1495
*`region` - (Required) The availability domain within the region to host the cluster. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm) for a list of region names. (string)
1496
+
*`service_cidr` - (Optional) A CIDR IP range from which to assign Kubernetes Service IPs (string)
1487
1497
*`service_dns_domain_name` - (Optional) Name for DNS domain of service subnet. Default `svcdns` (string)
1488
1498
*`skip_vcn_delete` - (Optional) Specifies whether to skip deleting the virtual cloud network (VCN) on destroy. Default `false` (bool)
1489
1499
*`tenancy_id` - (Required) The OCID of the tenancy in which to create resources (string)
0 commit comments