Skip to content

Commit

Permalink
Release: 1.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS committed Nov 22, 2023
1 parent bbb28b7 commit 26667e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.11.1
17 changes: 8 additions & 9 deletions modules/aft-customizations/states.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,13 @@ locals {
}
}

data "template_file" "invoke_customizations_sfn_template" {
// Use valid JSON but transform it during load to support numeric replacement
template = replace(file("${local.state_machine_source}"), "\"$${maximum_concurrent_customizations}\"", "$${maximum_concurrent_customizations}")
vars = local.replacements_map
}

resource "aws_sfn_state_machine" "aft_invoke_customizations_sfn" {
name = "aft-invoke-customizations"
role_arn = aws_iam_role.aft_invoke_customizations_sfn.arn
definition = data.template_file.invoke_customizations_sfn_template.rendered
name = "aft-invoke-customizations"
role_arn = aws_iam_role.aft_invoke_customizations_sfn.arn
// Use valid JSON but transform (de-quote) during load to support numeric parameterization
definition = replace(
templatefile("${local.state_machine_source}", local.replacements_map),
"/\"MaxConcurrency\": \"(\\d+)\"/",
"\"MaxConcurrency\": $1"
)
}

0 comments on commit 26667e5

Please sign in to comment.