mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-25 16:06:25 -06:00
3b953d3bd8
The terraform provider was panicking on import, because it didn't previously have a resource type which could be imported at all. Add a stub import function for terraform_data as a placeholder to allow the call to complete successfully. While there's no need to actually import a terraform_data resource, users will inevitably use this to construct examples of import actions for learning purposes or bug reports. This still isn't very useful even for examples however, because the state-only nature of the terraform_data resource type means that we can't fill in the state from only the import ID. This means that any value in `trigger_replace` or `input` will cause a change in the next plan. Once configuration data is available during import we can extend this to create a logical final state based on config. |
||
---|---|---|
.. | ||
providers | ||
provisioners |