dollarshaveclub / terraform-provider-nrs

A Terraform provider for New Relic Synthetics
MIT License
22 stars 4 forks source link

Failure to import monitors #7

Open RSaundersonDeloitte opened 5 years ago

RSaundersonDeloitte commented 5 years ago

When I try to import a synthetic monitor from our live site I get the following output:

UK165342:newrelic_synthetics rsaunderson$ terraform import nrs_monitor.my_monitor 1f4f789a-c554-433e-be23-0e7132bf14e4
nrs_monitor.my_monitor: Importing from ID "1f4f789a-c554-433e-be23-0e7132bf14e4"...

Error: nrs_monitor.my_monitor (import id: 1f4f789a-c554-433e-be23-0e7132bf14e4): import nrs_monitor.my_monitor (id: 1f4f789a-c554-433e-be23-0e7132bf14e4): resource nrs_monitor doesn't support import

Is this a known defect? Is there a work-around?

sanjayginde commented 5 years ago

Hey, I had the same issue. I realized the current release (0.1.0) does not support importing. You have to check the latest in the master branch and build it yourself.