Skip to content

jfrog/terraform-provider-myjfrog

Terraform & OpenTofu Acceptance Tests

Terraform Provider for MyJFrog

Quick Start

Create a new Terraform file with myjfrog resource:

HCL Example

# 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.

Versioning

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.

Contributors

See the contribution guide.

License

Copyright (c) 2024 JFrog.

Apache 2.0 licensed, see LICENSE file.