From 0cad3deaad81c33e82aab51f1eda158cc8119a1c Mon Sep 17 00:00:00 2001 From: Matthew Casperson Date: Mon, 29 Jul 2024 19:46:02 +1000 Subject: [PATCH] Add retry to serialize steps --- internal/steps/modules/project_management/terraform.tf | 1 + internal/steps/modules/space_management/terraform.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/internal/steps/modules/project_management/terraform.tf b/internal/steps/modules/project_management/terraform.tf index 0f6f1f6..5f4bde0 100644 --- a/internal/steps/modules/project_management/terraform.tf +++ b/internal/steps/modules/project_management/terraform.tf @@ -213,6 +213,7 @@ resource "octopusdeploy_runbook_process" "runbook" { "SerializeProject.Exported.Project.IgnoredAccounts" = "Octoterra AWS Account,Octoterra Azure Account" "SerializeProject.Exported.Project.ExcludeCacProjectValues" = "True" "SerializeProject.Exported.Project.LookupProjectLinkTenants" = "True" + "Octopus.Action.AutoRetry.MaximumCount" = "3" } environments = [] excluded_environments = [] diff --git a/internal/steps/modules/space_management/terraform.tf b/internal/steps/modules/space_management/terraform.tf index 90aac8b..0836a2a 100644 --- a/internal/steps/modules/space_management/terraform.tf +++ b/internal/steps/modules/space_management/terraform.tf @@ -422,6 +422,7 @@ resource "octopusdeploy_runbook_process" "runbook" { "Octopus.Action.Template.Id" = var.octopus_serialize_actiontemplateid "SerializeSpace.Exported.Space.IncludeStepTemplates" = "True" "SerializeSpace.Exported.Space.IgnoredAccounts" = "Octoterra AWS Account.*,Octoterra Azure Account.*" + "Octopus.Action.AutoRetry.MaximumCount" = "3" } environments = [] excluded_environments = []