Skip to content

Commit

Permalink
BET-4850: Support custom timeouts for cluster creation in modules. (#18)
Browse files Browse the repository at this point in the history
* BET-4850: Support custom timeouts for cluster creation in modules.
  • Loading branch information
nikchern authored Apr 13, 2022
1 parent 0709f11 commit ded3124
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spectro-cluster-edge-vsphere.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,9 @@ resource "spectrocloud_cluster_edge_vsphere" "this" {
conformance_scan_schedule = scan_policy.value.conformance_scan_schedule
}
}

timeouts {
create = try(each.value.timeouts.create, "60m")
delete = try(each.value.timeouts.delete, "60m")
}
}
5 changes: 5 additions & 0 deletions spectro-cluster-edge.tf
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,9 @@ resource "spectrocloud_cluster_edge" "this" {
conformance_scan_schedule = scan_policy.value.conformance_scan_schedule
}
}

timeouts {
create = try(each.value.timeouts.create, "60m")
delete = try(each.value.timeouts.delete, "60m")
}
}
5 changes: 5 additions & 0 deletions spectro-cluster-eks.tf
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,9 @@ resource "spectrocloud_cluster_eks" "this" {
conformance_scan_schedule = scan_policy.value.conformance_scan_schedule
}
}

timeouts {
create = try(each.value.timeouts.create, "60m")
delete = try(each.value.timeouts.delete, "60m")
}
}
5 changes: 5 additions & 0 deletions spectro-cluster-libvirt.tf
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,9 @@ resource "spectrocloud_cluster_libvirt" "this" {
conformance_scan_schedule = scan_policy.value.conformance_scan_schedule
}
}

timeouts {
create = try(each.value.timeouts.create, "60m")
delete = try(each.value.timeouts.delete, "60m")
}
}
5 changes: 5 additions & 0 deletions spectro-cluster-tke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,9 @@ resource "spectrocloud_cluster_tke" "this" {
conformance_scan_schedule = scan_policy.value.conformance_scan_schedule
}
}

timeouts {
create = try(each.value.timeouts.create, "60m")
delete = try(each.value.timeouts.delete, "60m")
}
}

0 comments on commit ded3124

Please sign in to comment.