Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ekristen/terraform-provider-tls-utils
Terraform Provider for Various TLS Utilities
https://github.com/ekristen/terraform-provider-tls-utils
Last synced: about 2 months ago
JSON representation
Terraform Provider for Various TLS Utilities
- Host: GitHub
- URL: https://github.com/ekristen/terraform-provider-tls-utils
- Owner: ekristen
- Created: 2022-02-16T15:53:52.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T19:55:26.000Z (2 months ago)
- Last Synced: 2024-10-31T20:30:25.241Z (2 months ago)
- Language: Go
- Size: 40 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform Provider - TLS Utils
At the moment this provides a single utility related to TLS which is `host_thumbprint` data source.
It allows the retrieving of a thumbprint of a certificate on a host.
## Build provider
Run the following command to build the provider
```shell
go build -o terraform-provider-tls-utils
```## Local release build
```shell
go install github.com/goreleaser/goreleaser@latest
``````shell
make release
```You will find the releases in the `/dist` directory. You will need to rename the provider binary to `terraform-provider-tls-utils` and move the binary into [the appropriate subdirectory within the user plugins directory](https://learn.hashicorp.com/tutorials/terraform/provider-use?in=terraform/providers#install-hashicups-provider).
## Test sample configuration
First, build and install the provider.
```shell
make install
```Then, navigate to the `examples` directory.
```shell
cd examples
```Run the following command to initialize the workspace and apply the sample configuration.
```shell
terraform init && terraform apply
```**Note:** you might have to remove the `.terraform.lock.hcl` file.