这是indexloc提供的服务,不要输入任何密码
Skip to content

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

Merged
merged 4 commits into from
May 22, 2024

Conversation

kitfoster
Copy link
Collaborator

Add Terraform support for the new OPTIONS Allowlist feature

👉 docs
👉 changelog

Comment on lines +230 to +234
ElementType: types.ObjectType{
AttrTypes: map[string]attr.Type{
"value": types.StringType,
},
},
Copy link
Collaborator

@dglsparsons dglsparsons May 22, 2024

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha. Well, this LGTM 🙏

Copy link
Collaborator Author

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

dglsparsons
dglsparsons previously approved these changes May 22, 2024
@kitfoster kitfoster marked this pull request as ready for review May 22, 2024 10:26
@kitfoster kitfoster requested a review from dglsparsons May 22, 2024 10:26
@kitfoster kitfoster merged commit 611e611 into main May 22, 2024
@kitfoster kitfoster deleted the kit/iam-2123-options-allowlist-add-to-terraform branch May 22, 2024 10:46
renovate bot referenced this pull request in inabagumi/shinju-date May 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](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
[@&#8203;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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants