terraform-provider-http icon indicating copy to clipboard operation
terraform-provider-http copied to clipboard

mTLS support is needed for http provider as well in order to fetch resources

Open scr-oath opened this issue 2 years ago • 0 comments

Terraform CLI and Provider Versions

Terraform v1.4.2 on darwin_arm64

Use Cases or Problem Statement

Curling a resource, such as a json file from a server that requires client credentials needs the ability to specify cert, key, and cacert

Proposal

Add to the schema the appropriate keys, and, when set, initialize the http_client with the credentials.

How much impact is this issue causing?

High

Additional Information

Without this feature, must do previous or followup steps to fetch resources as files, and if information about where the files are comes from other terraform code, have to split it up.

Furthermore, without this, the alternative might be to write a new provider, which, for simple https requests seems like duplicated effort when this provider exists.

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

scr-oath avatar Mar 23 '23 02:03 scr-oath