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
Unable to create a role in AWS OpsWorks for Chef Automate using terraform and the chef provider. Since OpsWorks is using a self signed certificate, terraform apply fails.
terraform apply -auto-approve
chef_role.test: Creating...
default_attributes_json: "" => "{}"
description: "" => "Managed by Terraform"
name: "" => "test-role"
override_attributes_json: "" => "{}"
Error: Error applying plan:
1 error(s) occurred:
* chef_role.test: 1 error(s) occurred:
* chef_role.test: Post https://test-xgibsgi18eldm7wa.us-east-2.opsworks-cm.io/organizations/roles: x509: certificate signed by unknown authority
Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.
Expected Behavior
A new chef resource gets created.
Actual Behavior
Terraform apply fails.
Steps to Reproduce
terraform init
terraform apply -auto-approve
Workaround
Set allow_unverified_ssl to true in the backend.tf file.
The text was updated successfully, but these errors were encountered:
sbobylev
changed the title
Unable to create a Chef resource using the Chef provider when he Chef sever is using a self signed certificate.
Unable to create a Chef resource using the Chef provider when the Chef sever is using a self signed certificate.
Sep 20, 2018
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
locked and limited conversation to collaborators
Apr 2, 2020
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Unable to create a role in AWS OpsWorks for Chef Automate using terraform and the chef provider. Since OpsWorks is using a self signed certificate,
terraform apply
fails.Terraform Version
Terraform Configuration Files
backend.tf
test_chef_role.tf
Crash Output
Expected Behavior
A new chef resource gets created.
Actual Behavior
Terraform apply fails.
Steps to Reproduce
terraform init
terraform apply -auto-approve
Workaround
Set
allow_unverified_ssl
to true in the backend.tf file.Feature Request
Add support for
ssl_ca_file
optionThe text was updated successfully, but these errors were encountered: