You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"junos_security_ike_gateway""gateway" {
for_each=var.tunnelsname="ike_gw_${each.key}"address=[var.tunnels[each.key].public_ippolicy = junos_security_ike_policy.gateway[each.key].nameexternal_interface = junos_interface_logical.dmz.nameno_nat_traversal = trueversion = "v2-only"dead_peer_detection {
interval =10
threshold =3
send_mode ="always-send"
}
local_identity {
type ="inet"
value = var.public_ip
}
remote_identity {
type ="inet"
value = var.tunnels[each.key].public_ip
}
}
Expected Behavior
A successful plan.
Actual Behavior
Error: Value Conversion Error
│
│ with module.shared-awsvpn-settings[0].junos_security_ike_gateway.gateway["gateway"],
│ on modules/shared-awsvpn-settings/vpn.tf line 57, in resource "junos_security_ike_gateway" "gateway":
│ 57: resource "junos_security_ike_gateway" "gateway" {
│
│ An unexpected error was encountered trying to convert tftypes.Value into
│ providerfwk.securityIkeGatewayBlockRemoteIdentity. This is always an error
│ in the provider. Please report the following to the provider developer:
│
│ mismatch between struct and object: Struct defines fields not found in
│ object: distinguished_name_container and distinguished_name_wildcard.
╵
Steps to Reproduce
terraform plan
We thank you for any help you can provide! If we can provide any further details please let us know.
The text was updated successfully, but these errors were encountered:
Hi @giulianna14 👋
Thank you for reporting this issue.
This bug only appears when upgrading the provider before v2.0.0 to v2.0.0...v2.1.1 and there are junos_security_ike_gateway resources with remote_identity block set in Terraform state.
I'll take care of fixing this quickly.
Terraform and Provider Versions
Terraform Configuration Files
Expected Behavior
A successful plan.
Actual Behavior
Steps to Reproduce
terraform plan
We thank you for any help you can provide! If we can provide any further details please let us know.
The text was updated successfully, but these errors were encountered: