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
At the moment, datadog_aws_integration resource cannot be imported from configuration using import block, because of requirement of providing external_id attribute as environment variable.
Such semantics is not common for Terraform providers and breaks in configuration-driven imports, where it's not possible to specify environment variables per import block.
The workaround is, obviously, to run terraform import manually, but it may be difficult or even impossible in Terraform Cloud (Enterprise) remote runs, when the configuration depends on variables provided by Terraform Cloud. That is because terraform import always runs locally, so if some sensitive input variables are provided by TFC, you'd have to somehow extract them from TFC and provide for a local terraform import via -var command-line argument.
The desired outcome would be ability to import datadog_aws_integration resource without all this hassle, like this:
What resources or data sources are affected?
resource_datadog_aws_integration
Feature Request
At the moment, datadog_aws_integration resource cannot be imported from configuration using
import
block, because of requirement of providingexternal_id
attribute as environment variable.Such semantics is not common for Terraform providers and breaks in configuration-driven imports, where it's not possible to specify environment variables per
import
block.The workaround is, obviously, to run
terraform import
manually, but it may be difficult or even impossible in Terraform Cloud (Enterprise) remote runs, when the configuration depends on variables provided by Terraform Cloud. That is becauseterraform import
always runs locally, so if some sensitive input variables are provided by TFC, you'd have to somehow extract them from TFC and provide for a localterraform import
via-var
command-line argument.The desired outcome would be ability to import
datadog_aws_integration
resource without all this hassle, like this:References
No response
The text was updated successfully, but these errors were encountered: