Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Move the superuser/password validation to CustomizeDiff func#44

Merged
winglot merged 1 commit intomasterfrom
superuser-password-validation-vol2
Jan 3, 2022
Merged

Move the superuser/password validation to CustomizeDiff func#44
winglot merged 1 commit intomasterfrom
superuser-password-validation-vol2

Conversation

@winglot
Copy link
Copy Markdown
Member

@winglot winglot commented Jan 3, 2022

Found as a tip in the Terraform community forums, that you can use the CustomizeDiff function to validate related attributes on the plan phase. The drawback is that this will not be picked by terraform validate but still better than this being errored at apply phase.

@winglot winglot merged commit 8210799 into master Jan 3, 2022
@winglot winglot deleted the superuser-password-validation-vol2 branch January 3, 2022 11:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants