terraform apply is giving this eroor
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for tls_cert_request.csr to include new values
│ learned so far during apply, provider
│ “Terraform Registry” produced an invalid new value for
│ .private_key_pem: inconsistent values for sensitive attribute.
│
│ This is a bug in the provider, which should be reported in the
│ provider’s own issue tracker.
Inspect the resource block and fix the issue.
resource “local_file” “key_data” {
filename = “/tmp/.pki/private_key.pem”
content = tls_private_key.private_key.private_key_pem
file_permission = “0400”
}
resource “tls_private_key” “private_key” {
algorithm = “RSA”
rsa_bits = 2048
ecdsa_curve = “P384”
}
resource “tls_cert_request” “csr” {
private_key_pem = file(“/tmp/.pki/private_key.pem”)
depends_on = [ local_file.key_data ]
subject {
common_name = “flexit.com”
organization = “FlexIT Consulting Services”
}
}
it was in lab i only erased
ecdsa_curve = “P384”
then its showing me this error