Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate smtp config not possible #183

Open
2 tasks done
yajo10 opened this issue Jun 2, 2024 · 2 comments
Open
2 tasks done

Activate smtp config not possible #183

yajo10 opened this issue Jun 2, 2024 · 2 comments

Comments

@yajo10
Copy link

yajo10 commented Jun 2, 2024

Preflight Checklist

  • I could not find a solution in the existing issues, docs, nor discussions
  • I have joined the ZITADEL chat

Describe your problem

Hey,
I'm trying to activate a smtp configuration via terraform. I can create a new smtp config via the corresponding terraform resource.

resource zitadel_smtp_config smtp {
  sender_address = var.smtp_sender_address
  sender_name    = var.smtp_sender_name
  tls            = true
  host           = var.smtp_host_port
  user           = var.smtp_login_user
  password       = var.smtp_login_password
}

Is there any possibility to activate it within terraform? Currently I always have to log in first and activate the smtp provider manual.
Thanks in advance.

Describe your ideal solution

As a administrator I want to be able to activate a smtp configuration.

Version

1.2.0

Additional Context

As I asked in the chat https://discord.com/channels/927474939156643850/1246564216769613834 this is currently not possible.

@hifabienne hifabienne moved this to 🐛 Bugs/Small Issues in Product Management Jun 3, 2024
@FabianKlemmAA
Copy link

Hi!

We observed another unfortunate effect of this: As long as SMTP provider is not activated, the terraform provider will not recognize the resource to be in place.

As a consequence, when your create a SMTP provider via terraform, it will recreate a new SMTP provider with the same configuration as long as one gets activated with every plan/apply.

Would be great if you could look into that issue! Thank you!

@ToroNZ
Copy link

ToroNZ commented Jul 16, 2024

As a consequence, when your create a SMTP provider via terraform, it will recreate a new SMTP provider with the same configuration as long as one gets activated with every plan/apply.

Having the same problem, quite messy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🐛 Bugs/Small Issues
Development

No branches or pull requests

4 participants