use dummy access_token

pull/97/head
Muhammad Atif Ali 2 years ago
parent c79f04ed9e
commit d7d92b77ea

@ -60,7 +60,8 @@ locals {
provider "artifactory" {
url = join("/", [var.jfrog_url, "artifactory"])
# Use the OAuth token if auth_method is 'oauth', else use the admin-level token
access_token = var.auth_method == "oauth" ? data.coder_external_auth.jfrog.access_token : var.artifactory_access_token
access_token = var.auth_method == "oauth" ? "dummy" : var.artifactory_access_token
check_license = false
}
resource "artifactory_scoped_token" "me" {

Loading…
Cancel
Save