diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 1794f7d..b07a979 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -19,7 +19,7 @@ jobs: - name: terraform fmt uses: dflook/terraform-fmt-check@529e30563b2c558dc0b8c450b5cec1cc93bd7fe4 with: - path: /deploy + path: deploy/ docs: runs-on: ubuntu-22.04 needs: formatting @@ -31,7 +31,7 @@ jobs: - name: Render terraform docs inside the README.md and push changes back to PR branch uses: terraform-docs/gh-actions@d1c99433f7a1e5003ef213d70f89aaa47cb0b675 with: - working-dir: /deploy + working-dir: deploy/ output-file: README.md output-method: inject output-format: markdown table diff --git a/deploy/00-locals.tf b/deploy/00-locals.tf index 9a88545..885e39e 100644 --- a/deploy/00-locals.tf +++ b/deploy/00-locals.tf @@ -16,22 +16,22 @@ locals { goldpinger_url = "goldpinger.${local.base_domain}" clusterissuer_name = "letsencrypt-prod" extra_provisioner_environment_variables = { - CLUSTER_NAME = var.cluster_name - CLUSTER_ID = var.cluster_id - POD_CIDR = var.pod_cidr - KUBECONFIG = module.kubeadm.path_to_kubeconfig_file - OWNER = var.owner - EXPIRY = local.expiry - REGION = var.region - VPC_ID = module.vpc.id - KUBE_APISERVER_HOST = module.kubeadm.kube_apiserver_internal_load_balancer_host - KUBE_APISERVER_PORT = module.kubeadm.kube_apiserver_internal_load_balancer_port - CLUSTERISSUER_NAME = local.clusterissuer_name - HUBBLE_UI_URL = local.hubble_ui_url - PROMETHEUS_URL = local.prometheus_url - ALERTMANAGER_URL = local.alertmanager_url - GRAFANA_URL = local.grafana_url - GRAFANA_ADMIN_PASSWORD = var.grafana_admin_password - GOLDPINGER_URL = local.goldpinger_url + CLUSTER_NAME = var.cluster_name + CLUSTER_ID = var.cluster_id + POD_CIDR = var.pod_cidr + KUBECONFIG = module.kubeadm.path_to_kubeconfig_file + OWNER = var.owner + EXPIRY = local.expiry + REGION = var.region + VPC_ID = module.vpc.id + KUBE_APISERVER_HOST = module.kubeadm.kube_apiserver_internal_load_balancer_host + KUBE_APISERVER_PORT = module.kubeadm.kube_apiserver_internal_load_balancer_port + CLUSTERISSUER_NAME = local.clusterissuer_name + HUBBLE_UI_URL = local.hubble_ui_url + PROMETHEUS_URL = local.prometheus_url + ALERTMANAGER_URL = local.alertmanager_url + GRAFANA_URL = local.grafana_url + GRAFANA_ADMIN_PASSWORD = var.grafana_admin_password + GOLDPINGER_URL = local.goldpinger_url } } \ No newline at end of file