flowchart TD;
subgraph Terraform
data.mgc_kubernetes_cluster_kubeconfig.cluster["data.mgc_kubernetes_cluster_kubeconfig.cluster"]
local_file.kubeconfig["local_file.kubeconfig"]
mgc_kubernetes_cluster.cluster_with_nodepool["mgc_kubernetes_cluster.cluster_with_nodepool"]
mgc_kubernetes_nodepool.gp1_small["mgc_kubernetes_nodepool.gp1_small"]
time_sleep.wait_15_minutes["time_sleep.wait_15_minutes"]
time_sleep.wait_for_cluster["time_sleep.wait_for_cluster"]
data.mgc_kubernetes_cluster_kubeconfig.cluster --> time_sleep.wait_for_cluster
local_file.kubeconfig --> data.mgc_kubernetes_cluster_kubeconfig.cluster
mgc_kubernetes_nodepool.gp1_small --> time_sleep.wait_15_minutes
time_sleep.wait_15_minutes --> mgc_kubernetes_cluster.cluster_with_nodepool
time_sleep.wait_for_cluster --> mgc_kubernetes_cluster.cluster_with_nodepool
end
Name | Version |
---|---|
local | 2.5.1 |
Name | Version |
---|---|
local | 2.5.1 |
mgc | 0.21.1 |
time | 0.12.0 |
No modules.
Name | Type |
---|---|
local_file.kubeconfig | resource |
mgc_kubernetes_cluster.cluster_with_nodepool | resource |
mgc_kubernetes_nodepool.gp1_small | resource |
time_sleep.wait_15_minutes | resource |
time_sleep.wait_for_cluster | resource |
mgc_kubernetes_cluster_kubeconfig.cluster | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
cluster_description | Descrição do Cluster | string |
"Um cluster de Kubernetes gerenciado pela Magalu Cloud." |
no |
cluster_name | Nome do Cluster | string |
"nataliagranato" |
no |
kubernetes_version | Versão do Kubernetes | string |
"v1.28.5" |
no |
nodepool_flavor | Flavor do Nodepool | string |
"cloud-k8s.gp1.small" |
no |
nodepool_name | Nome do Nodepool | string |
"nataliagranato" |
no |
nodepool_replicas | Número de Réplicas do Nodepool | number |
1 |
no |
timer_duration | Duração do Timer | string |
"15m" |
no |
Name | Description |
---|---|
cluster_id | n/a |
cluster_name | n/a |