hashicorp / terraform-provider-tls

Utility provider that works with Transport Layer Security keys and certificates. It provides resources that allow private keys, certificates and certficate requests to be created as part of a Terraform deployment.
https://registry.terraform.io/providers/hashicorp/tls/latest
Mozilla Public License 2.0
185 stars 102 forks source link

This is a bug in the provider, which should be reported in the provider's own issue tracker. #302

Closed devranaydin closed 1 year ago

devranaydin commented 1 year ago

Terraform CLI and Provider Versions

Terraform v1.0.0

Terraform Configuration

resource "tls_self_signed_cert" "example" {
   private_key_pem = tls_private_key.example.private_key_pem

   subject {
     common_name  = "example.com"
     organization = "Example Ltd"
   }

   validity_period_hours = 12

   allowed_uses = [
     "key_encipherment",
     "digital_signature",
     "server_auth",
     "client_auth"
   ]

   lifecycle {
     ignore_changes = all
   }

 }

Expected Behavior

No changes My infrastructure matches the configuration

Actual Behavior

Error: Provider produced invalid plan Provider "registry.terraform.io/hashicorp/tls" planned an invalid value for tls_self_signed_cert.example.ready_for_renewal: planned value cty.UnknownVal(cty.Bool) does not match config value cty.True nor prior value cty.True.

This is a bug in the provider, which should be reported in the provider's own issue tracker.

Steps to Reproduce

  1. terraform plan

How much impact is this issue causing?

High

Logs

No response

Additional Information

No response

Code of Conduct

github-actions[bot] commented 5 months ago

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.