marcofranssen / terraform-provider-curl

Terraform provider that allows to make curl request to any http endpoint
MIT License
5 stars 3 forks source link

how can i disable tls ? #32

Open ninjadude333 opened 1 year ago

marcofranssen commented 1 year ago

You can't. Why would you want to disable TLS? You either call a url at http, or you call a url at https?

Could you elaborate?

ninjadude333 commented 1 year ago

hi, for dev and testing porpuses. i try to develop something working with k8s on my dev env, and i use self signed cert. it was great if there was a boolean parametr in the provider to disable tls

On Thu, Jan 19, 2023, 21:14 Marco Franssen @.***> wrote:

You can't. Why would you want to disable TLS? You either call a url at http, or you call a url at https?

Could you elaborate?

— Reply to this email directly, view it on GitHub https://github.com/marcofranssen/terraform-provider-curl/issues/32#issuecomment-1397480727, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2R5ZW4CRNZ3HW4ELA6ELWTGHCZANCNFSM6AAAAAAUAMRKII . You are receiving this because you authored the thread.Message ID: @.***>

marcofranssen commented 1 year ago

What about a config to provide the self signed TLS? Feel free to contribute.

ninjadude333 commented 1 year ago

thats also a good idea, will have to up my game with GO a little, but i might give it a try :)

On Sat, 21 Jan 2023 at 20:04, Marco Franssen @.***> wrote:

What about a config to provide the self signed TLS? Feel free to contribute.

— Reply to this email directly, view it on GitHub https://github.com/marcofranssen/terraform-provider-curl/issues/32#issuecomment-1399301650, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFL2R52QIGVKXYEJR6TYWJDWTQQL3ANCNFSM6AAAAAAUAMRKII . You are receiving this because you authored the thread.Message ID: @.***>