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