-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add support for ephemeral resources #248
Comments
@xocasdashdash could you please explain what you desire to use this feature for? |
I want to be able to generate a random password with the random provider, hash it, pass it to Clickhouse service on creation and not commit it to the state in any way. The example shows how it works with the aws_db_instance |
OK thanks for the clarification. |
Just realised this requires terraform sdk v2, so this request is blocked by the upgrade to sdk v2 (internal ticket https://github.com/ClickHouse/sre/issues/221) |
scratch that, I was wrong about this. |
To support this, we need to up the requirement for minimum terraform version to 1.10, which was released november, 2024. |
Hi!
In order to support ephemeral resources I think Clickhouse needs to support "write only" endpoints
https://registry.terraform.io/providers/hashicorp/random/latest/docs/ephemeral-resources/password
Here's a gist with an example:
https://gist.github.com/bschaatsbergen/cec07997d0d187d8e8c7889af96a8c45
The text was updated successfully, but these errors were encountered: