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

[datadog_authn_mapping] Only allow one of role and team to be set #2391

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

JonasBak
Copy link
Contributor

Based on our testing, only one of role and team should be provided for the resource to work as intended (#2148 (comment)).

This PR adds some validation to fix this.

Note that I have not tested this change, as I don't have a datadog org to test with.

@JonasBak JonasBak requested a review from a team as a code owner April 30, 2024 12:32
@nkzou nkzou requested a review from a team as a code owner June 28, 2024 18:31
@nkzou nkzou merged commit 333cbc4 into DataDog:master Jun 28, 2024
9 of 10 checks passed
bharling pushed a commit to bharling/terraform-provider-datadog that referenced this pull request Jul 8, 2024
…taDog#2391)

* [datadog_authn_mapping] Only allow one of role and team to be set

* add note in docs about team and role being exclusive

* github actions outage - re-trigger ci

---------

Co-authored-by: Kevin Zou <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants