Terraform provider for Artifact Hub.
This repository is open source, please refer to the License for more information.
If you're new to Terraform and want to get started creating infrastructure, please check out the Terraform official Getting Started guides on HashiCorp's learning platform. There are also additional guides to continue your learning.
terraform {
required_providers {
artifacthub = {
version = "0.1.0"
source = "arldka/artifacthub"
}
}
}
provider "artifacthub" {
# Configuration options
api_key = "xxxx"
api_key_secret = "xxxx"
# OR USE THE ARTIFACTHUB_API_KEY and ARTIFACTHUB_API_KEY_SECRET ENVIRONMENT VARIABLES
}
To learn more about how to contribute to the development of this provider please refer to the community guidelines.
Did you find a vulnerability? Please refer to the Security Policy for more information.
The make command provides an easy way to access commands for local development of the provider.
-
To build the provider locally, you can execute the make command at the root of the project.
make build
Alternatively: 'go build -o terraform-provider-artifacthub'
-
To format all the go files in the project.
make format
Alternatively: 'gofmt -l -s -w .'
-
To generate documentation using the tfplugindocs plugin.
make docs
Alternatively: 'go run github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs'
-
To build and install the provider locally, you can execute the following command at the root of the project.
make install
-
You can use the provider now by setting the source to "hashicorp.local/devoteamgcloud/looker"
terraform {
required_providers {
artifacthub = {
version = "0.1.0"
source = "arldka.cloud/dev/artifacthub"
}
}
}
- container
- coredns
- helm
- helm-plugin
- falco
- gatekeeper
- keda-scaler
- keptn
- krew
- kubewarden
- kyverno
- opa
- olm
- tbaction
- tekton-pipeline
- tekton-task
- User Webhooks
- Org Webhooks