We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed3ecfc commit b69ccabCopy full SHA for b69ccab
docs/platforms/jfrog.md
@@ -69,6 +69,12 @@ provider "artifactory" {
69
url = "https://${var.jfrog_host}/artifactory"
70
access_token = "${var.artifactory_access_token}"
71
}
72
+
73
+resource "artifactory_scoped_token" "me" {
74
+ # This is hacky, but on terraform plan the data source gives empty strings,
75
+ # which fails validation.
76
+ username = length(local.artifactory_username) > 0 ? local.artifactory_username : "plan"
77
+}
78
```
79
80
When pushing the template, you can pass in the variables using the `--var` flag:
0 commit comments