Skip to content

Commit 2b44477

Browse files
authored
fix: remove empty string elements from local.urls in iam-assumable-role-with-oidc submodule (#99)
1 parent 150ad8a commit 2b44477

File tree

1 file changed

+1
-1
lines changed
  • modules/iam-assumable-role-with-oidc

1 file changed

+1
-1
lines changed

modules/iam-assumable-role-with-oidc/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ locals {
22
aws_account_id = var.aws_account_id != "" ? var.aws_account_id : data.aws_caller_identity.current.account_id
33
# clean URLs of https:// prefix
44
urls = [
5-
for url in distinct(concat(var.provider_urls, [var.provider_url])) :
5+
for url in compact(distinct(concat(var.provider_urls, [var.provider_url]))) :
66
replace(url, "https://", "")
77
]
88
identifiers = [

0 commit comments

Comments
 (0)