Closed mcparaf closed 1 month ago
@mcparaf please try it with new version and update us.
The peer_ips
field still has the same problem:
# module.meraki.meraki_organizations_snmp.snmp["1576797"] will be updated in-place
~ resource "meraki_organizations_snmp" "snmp" {
+ peer_ips = []
# (11 unchanged attributes hidden)
}
# module.meraki.meraki_organizations_snmp.snmp["1576869"] will be updated in-place
~ resource "meraki_organizations_snmp" "snmp" {
+ peer_ips = []
# (11 unchanged attributes hidden)
}
# module.meraki.meraki_organizations_snmp.snmp["709316941310853137"] will be updated in-place
~ resource "meraki_organizations_snmp" "snmp" {
+ peer_ips = []
# (11 unchanged attributes hidden)
}
Please try it with new version and update us.
Now if peer_ips
is null on creation of the resource this happens:
╷
│ Error: Value Conversion Error
│
│ with module.meraki.meraki_organizations_snmp.snmp["1576797"],
│ on ../terraform-meraki-nac-meraki/meraki_organization.tf line 100, in resource "meraki_organizations_snmp" "snmp":
│ 100: peer_ips = each.value.peer_ips
│
│ An unexpected error was encountered while verifying an attribute value matched its expected type to prevent unexpected behavior or panics. This is always an error in the provider. Please report the following to the provider developer:
│
│ Expected framework type from provider logic: types.SetType[basetypes.StringType] / underlying type: tftypes.Set[tftypes.String]
│ Received framework type from provider logic: types.SetType[!!! MISSING TYPE !!!] / underlying type: tftypes.Set[tftypes.DynamicPseudoType]
│ Path: peer_ips
╵
This does not happen on update.
Please try it with new version and update us.
if we don´t get answer in next 24 hours issue will be closed.
Prerequisites
Describe the bug When running any update Terraform shows snmp resources as modified in place:
hostname
,port
, andv3_user
are undocumented fields that are also read only. They should not be modifiable, nor should they trigger a resource update. We also do not use them anywhere in our code:Expected behavior No changes in the declared resources result in no changes executed by Terraform.
Environment (please complete the following information):