Closed antigenius0910 closed 3 years ago
Hi, I've reproduced the crash, and looking at the stack trace, it reveals an issue in terraform that is triggered when a resource or datasource has no schema. Maybe https://github.com/hashicorp/terraform/issues/22440
I've submitted #22 to comment the problematic configuration.
FWIW, terraform 0.13 properly reports the issue:
# terraform version
Terraform v0.13.5
+ provider registry.terraform.io/claranet/zabbix v0.2.0
# terraform plan
Warning: Interpolation-only expressions are deprecated
on lld_rule.tf line 40, in resource "zabbix_trigger_prototype" "free_disk_inodes_disaster":
40: description = "${format("Disk [{#FSNAME}]: Free inodes ({ITEM.LASTVALUE}) < {$INODE_DISASTER:\"{#FSNAME}\"}%%")}"
Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.
Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.
(and 15 more similar warnings elsewhere)
Error: Invalid resource type
on lld_rule.tf line 105, in resource "zabbix_lld_rule_link" "test_link":
105: resource "zabbix_lld_rule_link" "test_link" {
The provider provider.zabbix does not support resource type
"zabbix_lld_rule_link".
First thanks for the awesome code!! this is such a great project. I am having a little trouble here wondering if anyone have seen this before
I am in linux_general folder trying to apply as follow
full crash log here