Unsupported block type
puppycod opened this issue · 0 comments
puppycod commented
Hi,
When running terraform plan this gives an error
Error: Unsupported block type
on main.tf line 218, in resource "null_resource" "ruuvi_provisioner":
218: triggers {Blocks of type "triggers" are not expected here. Did you mean to define
argument "triggers"? If so, use the equals sign to assign it a value.
I make little bit research and noticed that this is not anymore supported in terraform 0.12. So this .tf needs update?
https://www.terraform.io/docs/extend/terraform-0.12-compatibility.html
The opposite situation is possible but less common: Terraform 0.11 and earlier permitted using an equals sign when declaring a nested resource, but that is no longer allowed in Terraform 0.12.