diff --git a/aks-cluster/variables.tf b/aks-cluster/variables.tf index 4bba48a..fdc8377 100644 --- a/aks-cluster/variables.tf +++ b/aks-cluster/variables.tf @@ -1,6 +1,6 @@ variable "app_password" { description = "Azure Kubernetes Service Cluster service principal password" - sensitive = true + sensitive = true } variable "environment" { diff --git a/hello-world-ingress.yaml b/hello-world-ingress.yaml index e91d0cf..748210a 100644 --- a/hello-world-ingress.yaml +++ b/hello-world-ingress.yaml @@ -19,4 +19,4 @@ spec: - backend: serviceName: aks-helloworld servicePort: 80 - path: / \ No newline at end of file + path: / diff --git a/issuer.yaml b/issuer.yaml index 1cb0019..fb65ad1 100644 --- a/issuer.yaml +++ b/issuer.yaml @@ -9,7 +9,8 @@ spec: # Certificates issued by public ACME servers are typically trusted by client’s browsers by default acme: server: https://acme-v02.api.letsencrypt.org/directory - email: user@example.com + # Temporary email generated via Temp Mail + email: nafifi3179@j24blog.com privateKeySecretRef: name: letsencrypt solvers: diff --git a/workstations/templates/custom_data.sh b/workstations/templates/custom_data.sh.tpl similarity index 100% rename from workstations/templates/custom_data.sh rename to workstations/templates/custom_data.sh.tpl diff --git a/workstations/workstations.tf b/workstations/workstations.tf index 7c249bc..7f24e03 100644 --- a/workstations/workstations.tf +++ b/workstations/workstations.tf @@ -162,7 +162,7 @@ resource "azurerm_virtual_machine" "main" { computer_name = each.key admin_username = var.workstation_username admin_password = var.workstation_password - custom_data = templatefile("${path.module}/templates/custom_data.sh", + custom_data = templatefile("${path.module}/templates/custom_data.sh.tpl", { az_user = azuread_service_principal.sp.application_id, az_password = var.app_password,