-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
unable to use lifecycle block in the module. Pls guide me with example. #343
Comments
lifecycle { |
This is not supported by Terraform. |
Hello, Thank you for replying back. Could you please help in understanding why it is not possible to use lifecycle block in this module? with TF resources it is straightforward but unable to understand the complexity behind using lifecycle block with the AWS rds module. Thanks for your time. |
This is a limitation of Terraform, we can't do anything about it here in the module. Here are the main issues with solid details - hashicorp/terraform#27360 |
@mkanna as an alternative, you can just remove the |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
Please provide a clear and concise description of the issue you are encountering, your current setup, and what steps led up to the issue. If you can provide a reproduction, that will help tremendously.
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Reproduction
Steps to reproduce the behavior:
Code Snippet to Reproduce
Expected behavior
Actual behavior
Terminal Output Screenshot(s)
Additional context
The text was updated successfully, but these errors were encountered: