logicmonitor/terraform-provider-logicmonitor

logicmonitor_datasource example errors

Closed this issue · 2 comments

Replication steps

  1. Open your repo and copy in the example .tf code listed.

  2. Try to run a plan.

Line 3 is showing a syntax error
applies_to = "system.deviceId == \"22\"
you're missing a closing quote.

Fixing that results in
Too few blocks specified for "collector_attribute": At least 1 block(s) are expected for "collector_attribute"

image

This can be mitigated by turning off advanced validation in vs code's settings, but figured it best to log the issue as by default this is going to cause confusion.

This issue is fixed and will be available by the next release.