Skip to content
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_cert_request causes refresh to fail #8782

Closed
RichardKnop opened this issue Sep 12, 2016 · 1 comment
Closed

tls_cert_request causes refresh to fail #8782

RichardKnop opened this issue Sep 12, 2016 · 1 comment

Comments

@RichardKnop
Copy link

RichardKnop commented Sep 12, 2016

Related to #7821 (which is closed although the development version is still broken)

Refreshing state of tls_cert_request fails with error message.

This issue makes using tls_cert_request very problematic at the moment (having to pass -refresh=false to plan and apply is the only way to work around this).

Terraform Version

Terraform v0.7.4-dev (291f2985354454749e3e6da586c1ecd5d245c181)

Affected Resource(s)

  • tls_cert_request

Debug Output

Error refreshing state: 7 error(s) occurred:

* tls_cert_request.registry: no PEM block found in private_key_pem
* tls_cert_request.client.0: no PEM block found in private_key_pem
* tls_cert_request.client.1: no PEM block found in private_key_pem
* tls_cert_request.client_server.0: no PEM block found in private_key_pem
* tls_cert_request.client_server.1: no PEM block found in private_key_pem
* tls_cert_request.server.0: no PEM block found in private_key_pem
* tls_cert_request.server.1: no PEM block found in private_key_pem

Expected Behavior

Terraform plan and/or apply should not fail with tls_cert_request resource. Otherwise this means tls_cert_request can only be used by passing -refresh=false flag around.

Refresh is effectively not possible when you have this resource in your manifests.

Actual Behavior

Terraform plan and apply fails during the refresh phase with the error message.

Steps to Reproduce

  1. Initial terraform apply with tls_cert_request resource
  2. terraform plan / terraform refresh / terraform apply all broken (during the refresh step)
@ghost
Copy link

ghost commented Apr 10, 2020

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.

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants