Skip to content

Commit

Permalink
Fix: "The parameter Lambda function associations is required."
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlory committed May 9, 2017
1 parent cb96204 commit 5abcb02
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/cdo/aws/cloudfront.rb
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ def self.cache_behavior(behavior_config, path=nil)
default_ttl: 0,
max_ttl: 31_536_000, # =1 year
compress: true, # Serve gzip-compressed assets
lambda_function_associations: {
quantity: 0,
},
}
behavior[:path_pattern] = path if path
behavior
Expand Down

0 comments on commit 5abcb02

Please sign in to comment.