Skip to content

[Bug]: skip_tls_verify does not work as expected #128

Description

@Eusebius1920

Github handle

Eusebius1920

Please describe the issue you are facing?

Creating a resource with skip_tls_verify = true against an API that has a self-signed certificate returns the following error:

│ Error: Request Failed
│ 
│   with terracurl_request.test,
│   on main.tf line 1, in resource "terracurl_request" "test":
│  1: resource "terracurl_request" "test" {
│ 
│ Post "https://10.11.12.13/api/endpoint": tls: failed to verify certificate: x509: certificate signed by unknown authority

Please detail the steps to reproduce the issue?

step 1: try to create a resource against an API with a self-signed certificate
step 2: see the error message

It works with version 1.2.2 of the provider, but it does not work with version 2.1.0 of the provider

TerraCurl provider version

2.0.0

What version of Terraform are you using?

None

What Operating system architecture are you running?

linux_amd64

Relevant log output

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions