Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provider/aws: Require cookies for Cloudfront Distributions #6505

Merged
merged 1 commit into from
May 8, 2016

Conversation

catsby
Copy link
Contributor

@catsby catsby commented May 5, 2016

A cookies value must be sent for CloudFront distributions, even if none. The docs are hard to parse but there's a request example that shows the cookies in there and other fields mentioned as not optional, plus you get an error message if you send nothing...

This PR fixes the panic reported in #6425 as well, by guarding against a *schema.Set that contains just nil, in the event that they did not specify a cookies block.

I think there's a core bug there as well, I can report that when this is merged, in that a required field inside a required field inside an optional field of a Resource will not error on plan if omitted

@jen20
Copy link
Contributor

jen20 commented May 8, 2016

LGTM!

@jen20 jen20 merged commit affd2b3 into master May 8, 2016
@jen20 jen20 deleted the b-cloudfront-cookies branch May 8, 2016 23:45
@ghost
Copy link

ghost commented Apr 26, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants