tafaustT
ZITADEL2y ago
5 replies
tafaust

Unexpected errors with update / destroy behavior of Terraform Zitadel SMTP Config

When I use the latest (1.3.0) terraform provider, I end up with the following error messages upon update / destroy for instance SMTP config:
╷
│ Error: failed to update smtp config: rpc error: code = InvalidArgument desc = invalid UpdateSMTPConfigRequest.Id: value length must be between 1 and 100 runes, inclusive
│ 
│   with zitadel_smtp_config.default,
│   on main.tf line 2, in resource "zitadel_smtp_config" "default":
│    2: resource "zitadel_smtp_config" "default" {
│ 
╵

and
╷
│ Error: failed to delete smtp config: rpc error: code = InvalidArgument desc = invalid RemoveSMTPConfigRequest.Id: value length must be between 1 and 100 runes, inclusive
│ 
│ 
╵


It looks like the resource is still created / updated / destroyed but the error message is rather confusing.
Was this page helpful?