logdna / terraform-provider-logdna

Terraform provider to simplify creation of views, preset alerts and other resources in LogDNA!
https://registry.terraform.io/providers/logdna/logdna/latest
MIT License
11 stars 12 forks source link

View and alert resource import support #13

Closed jsoh closed 3 years ago

jsoh commented 3 years ago

The current version 1.0.0 of the provider does not appear to support importing of existing view or alert resources:

https://registry.terraform.io/providers/logdna/logdna/latest/docs/resources/logdna_view

Are there any plans to support this feature?

dm36 commented 3 years ago

hi @jsoh! There are plans to support imports for views and alert resources ( as well as support for drift which hashicorp has a blog post about here ). There is a pr currently in draft (https://github.com/logdna/terraform-provider-logdna/pull/10) and the pr depends upon the get endpoint for the configuration-api (to be able to retrieve information on a user's alerts and views) which will be released this coming week

mdeltito commented 3 years ago

This is available in v1.2.0 via 854b57bcffb9f0e8adda8a9418e86dcae08c2a80 🎉