Skip to content

Commit

Permalink
fix(ipsec): Fix auth_method attribute validation (#582)
Browse files Browse the repository at this point in the history
Fixes #581
  • Loading branch information
vaerh authored Oct 9, 2024
1 parent 74a9241 commit 98516b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routeros/resource_ip_ipsec_identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func ResourceIpIpsecIdentity() *schema.Resource {
"in keys menu. Only supported in IKEv1; `pre-shared-key-xauth` - authenticate by a password (pre-shared " +
"secret) string shared between the peers + XAuth username and password. Only supported in IKEv1; `rsa-signature-hybrid` " +
"- responder certificate authentication with initiator XAuth. Only supported in IKEv1.",
ValidateFunc: validation.StringInSlice([]string{"digital-signature", "eap", "eap-radius", "`pre-shared-key`",
ValidateFunc: validation.StringInSlice([]string{"digital-signature", "eap", "eap-radius", "pre-shared-key",
"pre-shared-key-xauth", "rsa-key", "rsa-signature-hybrid"}, false),
DiffSuppressFunc: AlwaysPresentNotUserProvided,
},
Expand Down

0 comments on commit 98516b0

Please sign in to comment.