We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b850a60 commit e3e724dCopy full SHA for e3e724d
modules/iam-role/main.tf
@@ -10,7 +10,7 @@ locals {
10
partition = try(data.aws_partition.current[0].partition, "")
11
12
oidc_providers = [for url in var.oidc_provider_urls : replace(url, "https://", "")]
13
- bitbucket_provider = one(local.oidc_providers)
+ bitbucket_provider = try(element(local.oidc_providers, 0), null)
14
}
15
16
################################################################################
0 commit comments