Closed yibo-long closed 1 month ago
Now I see this comes from the schema of Terraform: https://github.com/hashicorp/terraform-provider-aws/blob/1076f598ee88175e7409c5887edcf87e6cbeab20/internal/service/cognitoidp/user_pool.go#L39 While AWS is not specifying them as array: https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_CreateUserPool.html
So it's probably an expected result, but I am curious why it's implemented in this way.
This issue has been blocked due to issue: One-element arrays could be considered as objects
This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale
. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh
will mark this issue as not stale.
This issue is being closed since there has been no activity for 14 days since marking it as stale
. If you still need help, feel free to comment or reopen the issue!
What happened?
Many parameters in cognitoidp.aws.upbound.io/v1beta1.UserPool are specified as an array while it actually should be object since they should only be either set once or optional.
Those are what we got issues while trying to use:
How can we reproduce it?
We have composition like this:
While trying to use this composition, it got those errors:
So it requires an array like for those config while it doesn't make sense as an array:
What environment did it happen in?