crossplane-contrib / provider-aws

Crossplane AWS Provider
Apache License 2.0
435 stars 369 forks source link

Cognito User username #2089

Open irizzant opened 1 month ago

irizzant commented 1 month ago

What happened?

I'm trying to create a Cognito User and AWS requests are without username field.

The User resource doc shows there is no field called username or similar.

I tried to use the attributes field as follows:

attributes:
  username = test@example.com

but I still get the AWS request error shown below: "errorMessage": "Username should be an email.",

How can we reproduce it?

Try to create a Cognito User

What environment did it happen in?

Crossplane version: 1.17.0

Kubernetes version (use kubectl version) 1.30 Kubernetes distribution (e.g. Tectonic, GKE, OpenShift) EKS

irizzant commented 3 days ago

Any update on this?