Create a new Terraform file with myjfrog
resource:
# Required for Terraform 1.0 and later
terraform {
required_providers {
myjfrog = {
source = "jfrog/myjfrog"
version = "1.0.0"
}
}
}
provider "myfrog" {
// supply JFROG_MYJFROG_API_TOKEN as env var
}
resource "myjfrog_ip_allowlist" "myjfrog-ip-allowlist" {
server_name = "my-jpd-server-name"
ips = [
"1.1.1.7/1",
"2.2.2.7/1",
]
}
Initialize Terrform:
$ terraform init
Plan (or Apply):
$ terraform plan
Detailed documentation of the resource and attributes are on Terraform Registry.
In general, this project follows semver as closely as we can for tagging releases of the package. We've adopted the following versioning policy:
- We increment the major version with any incompatible change to functionality, including changes to the exported Go API surface or behavior of the API.
- We increment the minor version with any backwards-compatible changes to functionality.
- We increment the patch version with any backwards-compatible bug fixes.
See the contribution guide.
Copyright (c) 2024 JFrog.
Apache 2.0 licensed, see LICENSE file.