There was an error while loading. Please reload this page.
1 parent be11909 commit f30faeeCopy full SHA for f30faee
1 file changed
terraform/prod/proxmox.tf
@@ -42,8 +42,7 @@ resource "proxmox_virtual_environment_file" "user_data" {
42
data = <<-EOF
43
#cloud-config
44
runcmd:
45
- - |
46
- ${indent(6, templatefile("${path.module}/templates/bootstrap.sh.tftpl", {
+ - ${jsonencode(templatefile("${path.module}/templates/bootstrap.sh.tftpl", {
47
cicd_ssh_public_key = var.cicd_ssh_public_key
48
wg_private_key = each.value.wg_private_key
49
wg_address = each.value.wg_address
0 commit comments