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

Have "ensure_idempotent" Field to be True by Default #3

Open
najose opened this issue Mar 16, 2023 · 1 comment
Open

Have "ensure_idempotent" Field to be True by Default #3

najose opened this issue Mar 16, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@najose
Copy link
Collaborator

najose commented Mar 16, 2023

In most of the use cases, users would expect the Terraform plan to be always idempotent except in cases where a module might create/modify/delete resources based on dynamically changing factors. In such exceptional cases users should set ensure_idempotent to false.

@najose najose added the enhancement New feature or request label Mar 16, 2023
@najose
Copy link
Collaborator Author

najose commented Mar 16, 2023

Implementing this probably won't be trivial due to how Go works combined with how mapstructure works.

Relevant: mitchellh/mapstructure#111

Or just renaming the field so it implies it's idempotent by default. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant