Open svwie opened 6 months ago
Thanks for contributing to Checkov! We've automatically marked this issue as stale to keep our issues list tidy, because it has not had any activity for 6 months. It will be closed in 14 days if no further activity occurs. Commenting on this issue will remove the stale tag. If you want to talk through the issue or help us understand the priority and context, feel free to add a comment or join us in the Checkov slack channel at codifiedsecurity.slack.com Thanks!
When using union() function to join objects in a resource deployment, it will cause parsing error.
Using the function in a variable will work just fine, e.g.:
The function will cause a parsing error when used inside a resource deployment. Example from Azure CARML:
When union() is removed, it will not cause any parsing errors.
Union needs to be used on applicationGateways deployments due to an issue with "enableFips". This property can only be provided if the selected SKU is supporting FIPS. The property needs to be evaluated at runtime and provided if enabled and omitted completely when disabled.