aminueza / terraform-provider-minio

Terraform provider for managing MinIO S3 buckets and IAM Users.
https://registry.terraform.io/providers/aminueza/minio
GNU Affero General Public License v3.0
243 stars 73 forks source link

Add support for LDAP users and groups on policy attachment resources #445

Closed acolombier closed 1 year ago

acolombier commented 1 year ago

Description

Currently, minio_iam_user_policy_attachment and minio_iam_group_policy_attachment don't support LDAP user and group name.

Steps to Reproduce

  1. Create a minio_iam_user_policy_attachment or minio_iam_group_policy_attachment with an LDAP/AD DN as *_name
  2. Apply

Expected behavior:

It should create the apply the change (create if missing, or ignore if existing)

Actual behavior:

It fails due to name validation

Reproduces how often:

Always

Versions

1.13.0

Additional Information

N/A