-
Notifications
You must be signed in to change notification settings - Fork 85
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
Add support for custom CA certificates #14
Comments
Hey @beyhan! To make it clear, this is the As a workaround, you could probably generate a cert file in a task and pass the relative path to the terraform resource:
Not 100% sure if this will work, but worth a try. |
@ljfranklin Thanks for the prompt response. Yes, it's the |
@beyhan started a PR hashicorp/terraform#10271 to see if the Terraform maintainers would accept such a change. |
@ljfranklin suggested workaround works. Task |
Finally got the Terraform PR merged. The next Terraform release should allow you to specify the OpenStack CA either as a filepath or as the contents of the cert. |
Hi @ljfranklin
We are using the terraform-resource and we are very happy with it. We would like to use the terraform-resource for infrastructures which are set up with custom certificates. Terraform supports custom CA certificates via the argument
cacert_file
. Currently, it's not possible to use this feature of terraform with the terraform-resource. It's possible to pass the argumentcacert_file
to terraform thru the terraform-resource but there is no way to provide the custom certificate file. There is a workaround for this by specifying theinsecure
argument but it's more secure by using thecacert_file
option. It will be grate to have this supported by the terraform-resource.The text was updated successfully, but these errors were encountered: