Skip to content

Commit f30faee

Browse files
committed
fix: inorrect cloud-init format
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
1 parent be11909 commit f30faee

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

terraform/prod/proxmox.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ resource "proxmox_virtual_environment_file" "user_data" {
4242
data = <<-EOF
4343
#cloud-config
4444
runcmd:
45-
- |
46-
${indent(6, templatefile("${path.module}/templates/bootstrap.sh.tftpl", {
45+
- ${jsonencode(templatefile("${path.module}/templates/bootstrap.sh.tftpl", {
4746
cicd_ssh_public_key = var.cicd_ssh_public_key
4847
wg_private_key = each.value.wg_private_key
4948
wg_address = each.value.wg_address

0 commit comments

Comments
 (0)