-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
external_dependencies_patterns
incorrectly forces new on go virtual repos
#1004
Comments
@jamestoyer Thanks for the report. I don't recall the reason this attribute is set with Its behavior in Artifactory probably has changed since then, so I'll update this in our next sprint. |
…-patterns-force-new Remove 'ForceNew' setting from external_dependencies_patterns attribute
Hi @alexhung, Even with latest
Do you have an idea what's going on? Thanks, |
…-go-repo-external-dependencies-patterns-force-new
…nal-dependencies-patterns-force-new Fix virtual go repo external_dependencies_patterns still force replacement on update
Works like a charm! Thank you for the fast fix |
Describe the bug
Changing the value of
external_dependencies_patterns
for a go virtual repository causes the resource to be replaced. This is cause byterraform-provider-artifactory/pkg/artifactory/resource/repository/virtual/virtual.go
Line 125 in 45c0e04
true
.This behaviour is inconsistent with the UI which does allow you to change the patterns after repository creation.
Requirements for an issue
curl
it at$host/artifactory/api/system/version
Expected behavior
Setting
external_dependencies_patterns
should not cause the go virtual repository resource to be recreated.Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: