https://github.com/jfrog/terraform-provider-distribution
Terraform provider to manage JFrog Distribution
https://github.com/jfrog/terraform-provider-distribution
configuration-as-code golang infrastructure-as-code jfrog terraform terraform-provider
Last synced: 17 days ago
JSON representation
Terraform provider to manage JFrog Distribution
- Host: GitHub
- URL: https://github.com/jfrog/terraform-provider-distribution
- Owner: jfrog
- License: apache-2.0
- Created: 2022-01-19T17:09:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T01:10:13.000Z (about 1 year ago)
- Last Synced: 2025-04-12T05:35:22.779Z (about 1 year ago)
- Topics: configuration-as-code, golang, infrastructure-as-code, jfrog, terraform, terraform-provider
- Language: Go
- Homepage: https://jfrog.com/
- Size: 208 KB
- Stars: 1
- Watchers: 13
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/jfrog/terraform-provider-distribution/actions/workflows/acceptance-tests.yml)
# Terraform Provider for JFrog Platform
## Quick Start
Create a new Terraform file with `distribution` resource.
### HCL Example
```terraform
terraform {
required_providers {
distribution = {
source = "jfrog/distribution"
version = "1.0.0"
}
}
}
variable "jfrog_url" {
type = string
default = "http://localhost:8081"
}
provider "distribution" {
url = "${var.jfrog_url}"
// supply JFROG_ACCESS_TOKEN as env var
}
resource "distribution_signing_key" "my-gpg-signing-key" {
protocol = "gpg"
alias = "my-gpg-signing-key"
private_key = <