Skip to content
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 the option to ignore TLS certificate errors when calling the PD API. #881

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

dazoakley
Copy link
Contributor

Hi folks,

Thanks for the awesome module.

This is my first attempt at writing terraform provider code (and I'm pretty green to golang) so please be gentle. 😄

This update makes it possible to ignore TLS certs if you really really need to, i.e. when you're behind a corporate proxy that messes with with the certificates...

Is this something you'd accept as a change? I've tested it on our CI server and it applies nicely.

I wasn't sure if I should update the changelog or not, please let me know and I can remove that edit if needed.

Thanks!

@dazoakley dazoakley force-pushed the insecure-tls branch 2 times, most recently from 1402750 to 6a36a3c Compare June 13, 2024 11:06
Copy link
Contributor

@imjaroiswebdev imjaroiswebdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there @dazoakley! Great addition, only thing missing is to also add the update for SlackClient and We should be ready to merge. Additionally, please rebase onto master. Thanks!

pagerduty/config.go Show resolved Hide resolved
This is useful when you're behind a corporate proxy that messes with with the certificates...
@dazoakley dazoakley force-pushed the insecure-tls branch 2 times, most recently from af15b12 to d0bac8b Compare June 14, 2024 07:41
@dazoakley dazoakley requested a review from imjaroiswebdev June 14, 2024 07:47
Copy link
Contributor

@imjaroiswebdev imjaroiswebdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dazoakley Thanks for adding this improvement 🎉 🏆

@imjaroiswebdev imjaroiswebdev merged commit befe18a into PagerDuty:master Jun 14, 2024
2 checks passed
@dazoakley dazoakley deleted the insecure-tls branch June 17, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants