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
For all artifactory_group resources in our terraform repo, I get a deprecation warning: This resource is deprecated. Use 'platform_group' resource in the JFrog Platform provider instead.
After re-importing the group as platform_group and doing another terraform plan I see the following changes:
platform_group.test_group will be updated in-place
~ resource"platform_group""test_group" {
-members=[
-"test-user",
] ->nullname="test-group"
~ realm="internal"-> (known after apply)
+realm_attributes=(known after apply)
# (2 unchanged attributes hidden)
}
I already thought of moving the user-group relationship to platform_groups. Unfortunately, if I leave the groups argument empty, I will not get the default readers group attached to the user.
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.
Describe the bug
For all
artifactory_group
resources in our terraform repo, I get a deprecation warning:This resource is deprecated. Use 'platform_group' resource in the JFrog Platform provider instead.
After re-importing the group as
platform_group
and doing anotherterraform plan
I see the following changes:According to JFrog Artifactory Terraform recommendation, I should use the
artifactory_user
for managing the user-group relationship.https://registry.terraform.io/providers/jfrog/artifactory/latest/docs/guides/user_group
How can I solve this situation?
I already thought of moving the user-group relationship to platform_groups. Unfortunately, if I leave the groups argument empty, I will not get the default
readers
group attached to the user.Requirements for and issue
curl
it at$host/artifactory/api/system/version
EnterpriseX license 7.98.8 rev 79808900
Terraform v1.9.8
Expected behavior
How to setup the user-group relationship correctly.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: