Skip to content

Commit

Permalink
fix: Correct weird sort issue with wrappers hook between linux and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantbiggs committed Dec 26, 2024
1 parent 04fd14d commit b1b82d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wrappers/iam-assumable-role/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ module "wrapper" {
role_session_name = try(each.value.role_session_name, var.defaults.role_session_name, ["$${aws:username}"])
role_sts_externalid = try(each.value.role_sts_externalid, var.defaults.role_sts_externalid, [])
tags = try(each.value.tags, var.defaults.tags, {})
trust_policy_conditions = try(each.value.trust_policy_conditions, var.defaults.trust_policy_conditions, [])
trusted_role_actions = try(each.value.trusted_role_actions, var.defaults.trusted_role_actions, ["sts:AssumeRole", "sts:TagSession"])
trusted_role_arns = try(each.value.trusted_role_arns, var.defaults.trusted_role_arns, [])
trusted_role_services = try(each.value.trusted_role_services, var.defaults.trusted_role_services, [])
trust_policy_conditions = try(each.value.trust_policy_conditions, var.defaults.trust_policy_conditions, [])
}
2 changes: 1 addition & 1 deletion wrappers/iam-assumable-roles/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ module "wrapper" {
readonly_role_policy_arns = try(each.value.readonly_role_policy_arns, var.defaults.readonly_role_policy_arns, ["arn:aws:iam::aws:policy/ReadOnlyAccess"])
readonly_role_requires_mfa = try(each.value.readonly_role_requires_mfa, var.defaults.readonly_role_requires_mfa, true)
readonly_role_tags = try(each.value.readonly_role_tags, var.defaults.readonly_role_tags, {})
trust_policy_conditions = try(each.value.trust_policy_conditions, var.defaults.trust_policy_conditions, [])
trusted_role_actions = try(each.value.trusted_role_actions, var.defaults.trusted_role_actions, ["sts:AssumeRole", "sts:TagSession"])
trusted_role_arns = try(each.value.trusted_role_arns, var.defaults.trusted_role_arns, [])
trusted_role_services = try(each.value.trusted_role_services, var.defaults.trusted_role_services, [])
trust_policy_conditions = try(each.value.trust_policy_conditions, var.defaults.trust_policy_conditions, [])
}

0 comments on commit b1b82d3

Please sign in to comment.