You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The jks attribute of this resource changes on every plan even if the same certificates are provided as input, because of the use of time.Now() as the CreationTime for each entry:
and the fact that the Read() implementation just calls Create().
This causes unnecessary churn for downstream resources that depend on this resource (for example, .jks files get rewritten on every single terraform plan/apply). It would be better if a single timestamp was used for all entries during Create() and stored in the state, so that the exact same jks data can be returned on subsequent reads.
The text was updated successfully, but these errors were encountered:
The
jks
attribute of this resource changes on every plan even if the same certificates are provided as input, because of the use oftime.Now()
as the CreationTime for each entry:https://github.com/outfoxx/terraform-provider-jks-trust-store/blob/main/jks-trust-store/resource_trust_store.go#L86
and the fact that the
Read()
implementation just callsCreate()
.This causes unnecessary churn for downstream resources that depend on this resource (for example,
.jks
files get rewritten on every single terraform plan/apply). It would be better if a single timestamp was used for all entries duringCreate()
and stored in the state, so that the exact samejks
data can be returned on subsequent reads.The text was updated successfully, but these errors were encountered: