Closed 2rs2ts closed 4 months ago
Hey there, looks like the valid value
options are dependent on the action
value.
manage_membership
allows values of user_access_manage
, admins
, members
, organization
.edit
allows values of teams_manage
, admins
, members
I'll confirm this with the backend team and get a documentation change out. Thanks for the report.
Datadog Terraform Provider Version
v3.39.0
Terraform Version
v1.8.5
What resources or data sources are affected?
Terraform Configuration Files
Relevant debug or panic output
No response
Expected Behavior
I expected that this configuration would work and would make it so that anyone in my organization would be able to apply this terraform repo (after the
datadog_team
was initially created by someone with the permission to do so, anyway.)The docs say that the values I used were valid.
Actual Behavior
I believe that the docs should make it more clear which values are valid. For what it's worth, I got a 403 on the other part of the
for_each
, which indicated that the value I chose was valid but I lack permissions to execute the change. I'm working with my org's admins to get the right permissions, but I believe the 400 error is not caused by me lacking access.Steps to Reproduce
Important Factoids
No response
References
No response