-
Notifications
You must be signed in to change notification settings - Fork 103
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
tls_self_signed_cert and tls_locally_signed_cert are always replaced #128
Comments
So, I found out while experimenting, that when removing |
@nbraun-wolf we experienced the same. Changing the cert every time for me is a bug. |
in the snippet you linked, you are setting the same value for
Renewal in a such case is expected because After changing the code to example bellow (renewal hours value must be lower than validity period):
it works fine. |
As reported indeed by @kirecek , this is an issue with the By setting the same amount for Example:
In short, early renewal time is measured backward from the validity expiration. Closing now. |
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. |
Hi there,
I found a problem that is
tls_self_signed_cert
andtls_locally_signed_cert
are always replaced on each terraform apply. According to the docs, this should not happen.Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Expected Behavior
It should not recreate the cert until early_renewal_hours is reached.
Actual Behavior
It wants to destroy and recreate the cert
Steps to Reproduce
Run
terraform apply
twice.References
Not sure if its the same but sounds related.
#79
The text was updated successfully, but these errors were encountered: