made iso image fetching more resilient to network errors
This commit is contained in:
@@ -21,6 +21,11 @@ data "http" "schematic_id" {
|
||||
url = "${var.image.factory_url}/schematics"
|
||||
method = "POST"
|
||||
request_body = local.schematic
|
||||
retry {
|
||||
attempts = 2
|
||||
min_delay_ms = 500
|
||||
max_delay_ms = 5000
|
||||
}
|
||||
}
|
||||
|
||||
data "http" "updated_schematic_id" {
|
||||
|
||||
Reference in New Issue
Block a user