Commit 2b444778 authored by Yuji Kinjo's avatar Yuji Kinjo Committed by GitHub

fix: remove empty string elements from local.urls in iam-assumable-role-with-oidc submodule (#99)

parent 150ad8ab
......@@ -2,7 +2,7 @@ locals {
aws_account_id = var.aws_account_id != "" ? var.aws_account_id : data.aws_caller_identity.current.account_id
# clean URLs of https:// prefix
urls = [
for url in distinct(concat(var.provider_urls, [var.provider_url])) :
for url in compact(distinct(concat(var.provider_urls, [var.provider_url]))) :
replace(url, "https://", "")
]
identifiers = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment