-
Notifications
You must be signed in to change notification settings - Fork 104
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 a data source for reading attributes from a servers certificate chain #62
Conversation
@appilon @apparentlymart @radeksimko Is this okay to be reviewed? |
@apparentlymart @radeksimko @appilon Is this change okay to be reviewed/merged? |
@apparentlymart @radeksimko @appilon Any update on review this PR? |
@apparentlymart @radeksimko @appilon Is there any chances of getting this reviewed? |
This would allow a completely automated setup of an EKS cluster without the need to run an external script and allow hashicorp/terraform-provider-aws#10104 to be closed, an issue that's been around for 8 months now. @apparentlymart @radeksimko @appilon Please take a look at this. |
hello, wonder if there is any update on this? do you need help with approving / reviewing it @apparentlymart @radeksimko @appilon? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @wjam - this is a great contribution. Some minor changes to make after review, then we'll be pleased to include this in the TLS provider.
tls/data_source_tls_certificate.go
Outdated
u.Host += ":443" | ||
} | ||
|
||
conn, err := tls.Dial("tcp", u.Host, &tls.Config{InsecureSkipVerify: true}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an optional verify_chain
attribute (defaulting to true
) to allow users to configure this, then set it to false during testing.
@@ -0,0 +1,27 @@ | |||
-----BEGIN RSA PRIVATE KEY----- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename test_fixtures
directory to testdata
following Go convention.
Co-authored-by: kmoe <[email protected]>
* Rename test_fixtures to testdata * Add verify_chain attribute
@kmoe Changes pushed |
…#115) * - Tags added to the OIDC provider - With hashicorp/terraform-provider-tls#62 sha1_fingerprint can be retrieved instead of hardcoding it (which isn't safe as not all regions have the same) * tls version set * Auto Format * Adding count to data source * Update main.tf Co-authored-by: Andriy Knysh <[email protected]> * Auto Format Co-authored-by: Matteo Migliaccio <[email protected]> Co-authored-by: cloudpossebot <[email protected]> Co-authored-by: Andriy Knysh <[email protected]>
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #4 and #52.