mirror of
https://github.com/vcscsvcscs/OCI-Kubernetes-cluster-with-traefik.git
synced 2025-08-12 13:59:09 +02:00
22 lines
580 B
HCL
22 lines
580 B
HCL
data "oci_identity_availability_domains" "ads" {
|
|
compartment_id = var.compartment_ocid
|
|
}
|
|
|
|
data "oci_core_images" "latest_image" {
|
|
compartment_id = var.compartment_ocid
|
|
operating_system = "Oracle Linux"
|
|
operating_system_version = "8.8"
|
|
shape = "VM.Standard.A1.Flex"
|
|
filter {
|
|
name = "display_name"
|
|
values = ["^.*aarch64-.*$"]
|
|
regex = true
|
|
}
|
|
}
|
|
|
|
data "oci_containerengine_cluster_kube_config" "cluster_kube_config" {
|
|
#Required
|
|
cluster_id = oci_containerengine_cluster.k8s_cluster.id
|
|
token_version = "2.0.0"
|
|
}
|