From d7d92b77ea13314b608f71fadb8d2eb361eb7a46 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 13 Nov 2023 11:47:36 +0300 Subject: [PATCH] use dummy access_token --- jfrog/main.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jfrog/main.tf b/jfrog/main.tf index 9e564a7..60f6f7d 100644 --- a/jfrog/main.tf +++ b/jfrog/main.tf @@ -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" {