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

Added Priority field to cloudflare_zone_lockdown schema #445

Merged
merged 3 commits into from
Aug 19, 2019

Conversation

mbrowne
Copy link
Contributor

@mbrowne mbrowne commented Aug 16, 2019

The ZoneLockdown API has a Priority field that was previously undocumented. They have since documented it, and I created a PR to add it to cloudflare-go, which was merged:
cloudflare/cloudflare-go#266

This PR adds the Priority field to the cloudflare_zone_lockdown resource in this provider.

@ghost ghost added the size/S label Aug 16, 2019
@jacobbednarz
Copy link
Member

@mbrowne Just thinking about this, as the priority field is optional, we should add another test where this isn't present to exercise that code path.

@mbrowne
Copy link
Contributor Author

mbrowne commented Aug 19, 2019

Ok, I added a test that passes only the required fields (paused and description are also optional fields).

@jacobbednarz jacobbednarz merged commit 98c6219 into cloudflare:master Aug 19, 2019
@jacobbednarz
Copy link
Member

Awesome! Thanks @mbrowne! You rock 🤘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants