You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The imported datadog_authn_mapping includes the team ID and thus terraform plan returns cleanly with no planned changes.
Actual Behavior
Output of terraform state show datadog_authn_mapping.team_mapping confirms that the team ID was not added to the Terraform state:
# datadog_authn_mapping.team_mapping:
resource "datadog_authn_mapping" "team_mapping" {
id = "..."
key = "http://schemas.microsoft.com/ws/2008/06/identity/claims/groups"
role = null
value = "..."
}
Output of terraform plan:
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
# datadog_authn_mapping.team_mapping will be updated in-place
~ resource "datadog_authn_mapping" "team_mapping" {
id = "<UUID>"
+ team = "<UUID>"
# (3 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy.
Steps to Reproduce
Define a datadog_authn_mapping resource for the existing Team AuthN mapping, as shown above
Import the existing mapping by ID: terraform import datadog_authn_mapping.team_mapping <UUID>
Observe that the resource is dirty: terraform plan
Where <UUID> refers to the ID of an AuthN team (i.e. not a role) mapping.
Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Datadog Terraform Provider Version
3.48.1
Terraform Version
1.9.8
What resources or data sources are affected?
Terraform Configuration Files
Relevant debug or panic output
No response
Expected Behavior
The imported
datadog_authn_mapping
includes the team ID and thusterraform plan
returns cleanly with no planned changes.Actual Behavior
Output of
terraform state show datadog_authn_mapping.team_mapping
confirms that the team ID was not added to the Terraform state:Output of
terraform plan
:Steps to Reproduce
datadog_authn_mapping
resource for the existing Team AuthN mapping, as shown aboveterraform import datadog_authn_mapping.team_mapping <UUID>
terraform plan
Where
<UUID>
refers to the ID of an AuthN team (i.e. not a role) mapping.Important Factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: