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.
null
concat()
1 parent 501d39e commit dd9a7a6Copy full SHA for dd9a7a6
main.tf
@@ -535,7 +535,7 @@ resource "aws_cloudfront_monitoring_subscription" "this" {
535
################################################################################
536
537
locals {
538
- cache_behaviors = concat([var.default_cache_behavior], var.ordered_cache_behavior)
+ cache_behaviors = var.ordered_cache_behavior != null ? concat([var.default_cache_behavior], var.ordered_cache_behavior) : [var.default_cache_behavior]
539
}
540
541
data "aws_cloudfront_cache_policy" "this" {
0 commit comments