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 02be1d9 commit fdca7feCopy full SHA for fdca7fe
1 file changed
modules/management/kubectl-apply/main.tf
@@ -29,7 +29,7 @@ locals {
29
# 2. Identify URL-based manifests
30
url_manifests = {
31
for index, manifest in local.enabled_manifests : index => manifest
32
- if startswith(try(manifest.source, ""), "http://") || startswith(try(manifest.source, ""), "https://")
+ if try(manifest.source, null) != null && (startswith(manifest.source, "http://") || startswith(manifest.source, "https://"))
33
}
34
35
# 3. Rebuild the map by populating the 'content' field for URLs based manifest
0 commit comments