Hi guys,
Recently, when I turned on TF_LOG to debug another terraform problem, I saw quite a few [WARN] messages like the following, when I turned off the TF_LOG, the messages disappears.
I googled complete definitions of the Terraform resources, the list of confusing errors from downstream operations
are in fact the attributes / fields of the Terraform resources, which are not explicit defined in my .tf terraform codes (and they are supposed to use whatever default values).
The things that concerns me the most is ...an invalid plan ... legacy plugin SDK
. Even I downloaded the lastest 5.0.1 aws
provider, The error still persists.
Any recommendations and suggestions are more than welcomed, Thanks,
2023-05-29T16:20:20.017Z [WARN] Provider “Terraform Registry” produced an invalid plan for aws_kms_key.kms_key[“sre”], but we are tolerating it because it is using the legacy plugin SDK.
The following problems may be the cause of any confusing errors from downstream operations:
- .custom_key_store_id: planned value cty.StringVal(“”) for a non-computed attribute
- .bypass_policy_lockout_safety_check: planned value cty.False for a non-computed attribute
- .is_enabled: planned value cty.True for a non-computed attribute
- .customer_master_key_spec: planned value cty.StringVal(“SYMMETRIC_DEFAULT”) for a non-computed attribute
- .tags: planned value cty.MapValEmpty(cty.String) for a non-computed attribute
- .enable_key_rotation: planned value cty.False for a non-computed attribute
- .key_usage: planned value cty.StringVal(“ENCRYPT_DECRYPT”) for a non-computed attribute