mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-05-29 20:22:59 +00:00
This is a new provisioning mechanism. Right now, it can provision clusters on: - Digital Ocean - Linode - Oracle Cloud - Scaleway Others should be relatively straightforward to add. Check the README in the prepare-tf subdirectory for details.
12 lines
261 B
HCL
12 lines
261 B
HCL
data "oci_containerengine_cluster_kube_config" "_" {
|
|
cluster_id = oci_containerengine_cluster._.id
|
|
}
|
|
|
|
output "kubeconfig" {
|
|
value = data.oci_containerengine_cluster_kube_config._.content
|
|
}
|
|
|
|
output "cluster_id" {
|
|
value = oci_containerengine_cluster._.id
|
|
}
|