Yelp / terraform-provider-signalform

SignalForm is a terraform provider to codify SignalFx detectors, charts and dashboards
Apache License 2.0
44 stars 26 forks source link

Support to import resources #18

Open bronislav opened 6 years ago

bronislav commented 6 years ago

Is this in the roadmap or there is API limitations that prevent to implement this feature?

poros commented 6 years ago

My answer is based on the assumption you are referring to this https://www.terraform.io/docs/import/index.html

We started to create resources via the SignalFx v2 API directly and only via this provider, so we never had the need to implement import of existing resources. So no, I would say there is no plan but no limitation either, if you are aware that v1 resources cannot be managed via the API.

bronislav commented 6 years ago

Yes, you are right. I asked about importing resources created manually to the terraform state.

I didn't know that v1 resources could not be managed using API. This answers my question. Most of the resources that we potentially want to import, created using v1.

I just confused that their API doesn't support all the things that supported in the UI.