Skip to content

Commit

Permalink
fix: updated timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
IBMBDGhataliya committed Jul 4, 2024
1 parent d7eabbb commit 1ac0322
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions modules/powervs-instance-ansible-config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "terraform_data" "extend_increase_filesystem" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

####### Create Terraform scripts directory ############
Expand Down Expand Up @@ -64,7 +64,7 @@ resource "terraform_data" "install_packages" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "file" {
Expand Down Expand Up @@ -99,7 +99,7 @@ resource "terraform_data" "download_pha" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

####### Copy Template file to target host ############
Expand Down Expand Up @@ -134,7 +134,7 @@ resource "terraform_data" "download_ansible" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "file" {
Expand Down Expand Up @@ -193,7 +193,7 @@ resource "terraform_data" "copy_files_to_remote" {
host = local.nodes_ip[0]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "file" {
Expand Down Expand Up @@ -240,7 +240,7 @@ resource "terraform_data" "ansible_playbook_execution" {
host = local.nodes_ip[0]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "remote-exec" {
Expand Down
12 changes: 6 additions & 6 deletions modules/powervs-instance-glvm-ansible-config/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ resource "terraform_data" "extend_increase_filesystem" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

####### Create Terraform scripts directory ############
Expand Down Expand Up @@ -65,7 +65,7 @@ resource "terraform_data" "install_packages" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "file" {
Expand Down Expand Up @@ -100,7 +100,7 @@ resource "terraform_data" "download_pha" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

####### Copy Template file to target host ############
Expand Down Expand Up @@ -135,7 +135,7 @@ resource "terraform_data" "download_ansible" {
host = local.nodes_ip[count.index]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "file" {
Expand Down Expand Up @@ -194,7 +194,7 @@ resource "terraform_data" "copy_files_to_remote" {
host = local.nodes_ip[0]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "file" {
Expand Down Expand Up @@ -242,7 +242,7 @@ resource "terraform_data" "ansible_playbook_execution" {
host = local.nodes_ip[0]
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

provisioner "remote-exec" {
Expand Down
2 changes: 1 addition & 1 deletion modules/powervs-workspace-update/pi_images.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "ibm_pi_image" "import_images" {
pi_image_name = var.aix_os_image

timeouts {
create = "9m"
create = "10m"
}
}

Expand Down
2 changes: 1 addition & 1 deletion solutions/glvm_powervs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "terraform_data" "validate_pha" {
host = local.bastion_host_ip
private_key = var.ssh_private_key
agent = false
timeout = "1m"
timeout = "5m"
}

####### Copy Template file to target host ############
Expand Down
2 changes: 1 addition & 1 deletion solutions/standard_powervs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ resource "terraform_data" "validate_pha" {
host = local.bastion_host_ip
private_key = var.ssh_private_key
agent = false
timeout = "20m"
timeout = "5m"
}

####### Copy Template file to target host ############
Expand Down

0 comments on commit 1ac0322

Please sign in to comment.