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
I can sort of get this by using the following resource:
resource"datadog_organization_settings""organization" {
lifecycle {
ignore_changes=[
# Without this, the provider will try and `null` the name,# which is a no-op, but still...name,
]
}
}
However, datadog_organization_settings.organization.name will resolve to null until the resource has been created, which results in inconsistent applies:
locals {
# The `name` attribute resolves to `null` until after the first apply (when# the resource has been created).# Using this local variable will generate "Provider produced inconsistent# final plan" errors in that first apply. Re-applying will fix it.dd_account_name=datadog_organization_settings.organization.name==null?"Unknown": datadog_organization_settings.organization.name
}
What resources or data sources are affected?
datadog_organization
Feature Request
Please add a data source to load information about the current organization:
References
No response
The text was updated successfully, but these errors were encountered: