mirror of
https://github.com/2martens/terraform.git
synced 2026-10-17 15:26:50 +02:00
Fixed host setting for helm resources
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
resource "null_resource" "install_setup" {
|
resource "null_resource" "install_setup" {
|
||||||
connection {
|
connection {
|
||||||
host = hcloud_server.manager[0].ipv6_address
|
host = format("%s%d", hcloud_server.manager[0].ipv6_address, 1)
|
||||||
user = "root"
|
user = "root"
|
||||||
type = "ssh"
|
type = "ssh"
|
||||||
private_key = var.terraform_private_ssh_key
|
private_key = var.terraform_private_ssh_key
|
||||||
@@ -44,7 +44,7 @@ resource "null_resource" "install_argocd_single" {
|
|||||||
count = var.number_nodes < 3 ? 1 : 0
|
count = var.number_nodes < 3 ? 1 : 0
|
||||||
|
|
||||||
connection {
|
connection {
|
||||||
host = hcloud_server.manager[0].ipv6_address
|
host = format("%s%d", hcloud_server.manager[0].ipv6_address, 1)
|
||||||
user = "root"
|
user = "root"
|
||||||
type = "ssh"
|
type = "ssh"
|
||||||
private_key = var.terraform_private_ssh_key
|
private_key = var.terraform_private_ssh_key
|
||||||
@@ -66,7 +66,7 @@ resource "null_resource" "install_argocd_ha" {
|
|||||||
count = var.number_nodes >= 3 ? 1 : 0
|
count = var.number_nodes >= 3 ? 1 : 0
|
||||||
|
|
||||||
connection {
|
connection {
|
||||||
host = hcloud_server.manager[0].ipv6_address
|
host = format("%s%d", hcloud_server.manager[0].ipv6_address, 1)
|
||||||
user = "root"
|
user = "root"
|
||||||
type = "ssh"
|
type = "ssh"
|
||||||
private_key = var.terraform_private_ssh_key
|
private_key = var.terraform_private_ssh_key
|
||||||
|
|||||||
Reference in New Issue
Block a user