-
Notifications
You must be signed in to change notification settings - Fork 31
Add OPTIONS Allowlist support to vercel terraform provider #186
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
Add OPTIONS Allowlist support to vercel terraform provider #186
Conversation
ElementType: types.ObjectType{ | ||
AttrTypes: map[string]attr.Type{ | ||
"value": types.StringType, | ||
}, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How come it's a list of objects, not just a list of strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Making it flexible for the future, leaves room for configurations of the paths. For example, Trusted IPs has notes. For this feature I can see supporting regex, or requiring specific headers on the request etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gotcha. Well, this LGTM 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To make sure I fully answered your question, this structure is a 1-1 reflection of the db / api structure
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vercel](https://registry.terraform.io/providers/vercel/vercel) ([source](https://togithub.com/vercel/terraform-provider-vercel)) | required_provider | minor | `1.10.1` -> `1.11.0` | --- ### Release Notes <details> <summary>vercel/terraform-provider-vercel (vercel)</summary> ### [`v1.11.0`](https://togithub.com/vercel/terraform-provider-vercel/releases/tag/v1.11.0) [Compare Source](https://togithub.com/vercel/terraform-provider-vercel/compare/v1.10.1...v1.11.0) #### What's Changed - Add OPTIONS Allowlist support to vercel terraform provider by [@​kitfoster](https://togithub.com/kitfoster) in [https://github.com/vercel/terraform-provider-vercel/pull/186](https://togithub.com/vercel/terraform-provider-vercel/pull/186) **Full Changelog**: vercel/terraform-provider-vercel@v1.10.1...v1.11.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/inabagumi/shinju-date). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Add Terraform support for the new OPTIONS Allowlist feature
👉 docs
👉 changelog