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

Error when no description specified for ip_access in clickhouse_service #252

Open
LloydArmstrong opened this issue Mar 10, 2025 · 2 comments

Comments

@LloydArmstrong
Copy link

Version: 2.2.0-alpha2

When applying the ip_access block in the clickhouse_service resource, an error occurs (see screenshot).
Once the description is added, the error disappears. At first this seems related to required options, but I see here, it is set to optional. So unsure what the issue is.

https://github.com/ClickHouse/terraform-provider-clickhouse/blob/main/pkg/resource/service.go#L179-L194

Image

@whites11
Copy link
Contributor

Hello @LloydArmstrong, thanks for reporting this bug.

The description field is not strictly mandatory, but it's strongly suggested to add a value to it.
To solve the bug you filed, we'll mark the field as required, although you can always set it to the empty string should you really want to leave it empty.

The change will be merged to the main branch soon and released with the next release in the coming days/weeks.

In the meantime, I think you already found a workaround for it (just set a value for the description field).

Thanks again for reporting

@whites11
Copy link
Contributor

Fix merged, still to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants