Last active
March 20, 2024 19:17
-
-
Save madelaney/3ea8e36c0789fa96341b7b7dd2d89622 to your computer and use it in GitHub Desktop.
artifatory terraform provider bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform { | |
required_providers { | |
artifactory = { | |
source = "jfrog/artifactory" | |
version = "~> 10.0" | |
} | |
platform = { | |
source = "jfrog/platform" | |
version = "~> 1.4" | |
} | |
} | |
} | |
provider "artifactory" { | |
url = var.artifactory_url | |
access_token = var.artifactory_access_token | |
} | |
provider "platform" { | |
url = var.artifactory_url | |
access_token = var.artifactory_access_token | |
} | |
variable "artifactory_url" { | |
type = string | |
default = "http://localhost:8081" | |
description = "The base url to artifactory to configure" | |
} | |
variable "artifactory_access_token" { | |
type = string | |
description = "The api token / access key to authenticate to artifactory with" | |
} | |
resource "platform_permission" "snapshot-deployer" { | |
name = "snapshot-deployer" | |
artifact = { | |
targets = [ | |
{ | |
name = "generic-local" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment