Open
Description
With the new platform provider I'm unable to add a list of users that should be a member of a group, even though they haven't been created yet.
We're currently running an apply on a schedule, with validation. Previously I was able to do something like this:
resource "platform_group" "admins" {
name = "_admins"
description = "Group for Artifactory administrators"
auto_join = false
admin_privileges = true
}
resource "platform_group_members" "admin_members" {
name = platform_group.admins.name
members = ["member1", "member2", "member3"]
}
(rewritten for the new provider)
and on the first apply after login they were granted the permission. Now it gives this error:
Error: Unable to Create Resource
│
│ with platform_group_members.admin_members,
│ on main.tf line 24, in resource "platform_group_members" "admin_members":
│ 24: resource "platform_group_members" "admin_members" {
│
│ An unexpected error occurred while creating the resource update request. Please report this issue to the provider developers.
│
│ Error: Could not fetch all requested users
I would very much like to be able to define a list of users that should be granted access on the next apply, especially since I'm not able to "artificially create" users from an external user directory, in our case via OAuth.