You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The client only accepts alphanumerics where the AF UI accepts hyphens. This needs to be loosened to allow project_key to take hyphens.
validation.StringMatch(regexp.MustCompile(`^[a-z0-9]{3,10}$`), "project_key must be 3 - 10 lowercase alphanumeric characters"),
Requirements for and issue
A description of the bug
A fully functioning terraform snippet that can be copy&pasted (no outside files or ENV vars unless that's part of the issue). If this is not supplied, this issue will likely be closed without any effort expended.
project_key = "depart-bu"
you receive the error `Error: invalid value for project_key (project_key must be 3 - 10 lowercase alphanumeric characters)`
Your version of artifactory (you can curl it at $host/artifactory/api/system/version
Artifactory SaaS
Your version of terraform
1.0.6
Your version of terraform provider
6.11.2
Expected behavior
Hyphens can be used in the project_key property
Additional context
We follow a naming scheme of DEPARTMENT-BUSINESSUNIT for our project keys. This is blocking our migration to projects and AF SaaS
The text was updated successfully, but these errors were encountered:
Describe the bug
The client only accepts alphanumerics where the AF UI accepts hyphens. This needs to be loosened to allow project_key to take hyphens.
terraform-provider-shared/validator/validator.go
Line 54 in 8fc32aa
Requirements for and issue
curl
it at$host/artifactory/api/system/version
1.0.6
6.11.2
Expected behavior
Hyphens can be used in the project_key property
Additional context
We follow a naming scheme of
DEPARTMENT-BUSINESSUNIT
for our project keys. This is blocking our migration to projects and AF SaaSThe text was updated successfully, but these errors were encountered: