Restructure

This commit is contained in:
Khue Doan 2021-05-02 21:30:26 +07:00
parent 20a27a1ee2
commit c1a993cd22
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +0,0 @@
module "rke_cluster_bootstrap" {
source = "./modules/kubernetes-cluster-bootstrap"
kube_config = rke_cluster.cluster.kube_config_yaml
}

View File

@ -172,3 +172,8 @@ resource "local_file" "kube_config_yaml" {
sensitive_content = rke_cluster.cluster.kube_config_yaml
file_permission = "0600"
}
module "rke_cluster_bootstrap" {
source = "./modules/kubernetes-cluster-bootstrap"
kube_config = rke_cluster.cluster.kube_config_yaml
}