{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudtools/troposphere/issues/359","labels_url":"https://api.github.com/repos/cloudtools/troposphere/issues/359/labels{/name}","comments_url":"https://api.github.com/repos/cloudtools/troposphere/issues/359/comments","events_url":"https://api.github.com/repos/cloudtools/troposphere/issues/359/events","html_url":"https://github.com/cloudtools/troposphere/issues/359","id":123341946,"number":359,"title":"CloudFront TTL issue - undocumented AWS change","user":{"login":"slikk66","id":633269,"avatar_url":"https://avatars.githubusercontent.com/u/633269?v=3","gravatar_id":"","url":"https://api.github.com/users/slikk66","html_url":"https://github.com/slikk66","followers_url":"https://api.github.com/users/slikk66/followers","following_url":"https://api.github.com/users/slikk66/following{/other_user}","gists_url":"https://api.github.com/users/slikk66/gists{/gist_id}","starred_url":"https://api.github.com/users/slikk66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slikk66/subscriptions","organizations_url":"https://api.github.com/users/slikk66/orgs","repos_url":"https://api.github.com/users/slikk66/repos","events_url":"https://api.github.com/users/slikk66/events{/privacy}","received_events_url":"https://api.github.com/users/slikk66/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T19:25:27Z","updated_at":"2015-12-21T19:25:27Z","closed_at":null,"body":"Suddenly working with CloudFront via CloudFormation if you pass in a MinTTL value for your cache behavior, you will get an error saying:\r\n\r\n**MinTTL must be less equal to DefaultTTL must be less equal to MaxTTL**\r\n\r\nhowever, according to the docs (as of 12/21) there are no DefaultTTL or MaxTTL values: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-defaultcachebehavior.html#cfn-cloudfront-defaultcachebehavior-minttl\r\n\r\nTroposphere reflects this fact and won't let you add MaxTTL or DefaultTTL.  However, now all CloudFront adjustments using TTLs will fail.  If you manually add in the MaxTTL and DefaultTTL values to the code, now it works!  Just verified and tested working with adjusted code.  PR to fix issue is:  (coming in 2 minutes)"}}