I would like to create a client that can only read attribut.
Actual Behavior
If i create a client with write_attributes = [] all attributes are marked as writable but if I do write_attributes = ["name"] only the attributes name can me modified. Seem's to have a problem with an empty list, looks like it's ignored.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.2.9
AWS Provider Version
4.31.0
Affected Resource(s)
aws_cognito_user_pool_client
Expected Behavior
I would like to create a client that can only read attribut.
Actual Behavior
If i create a client with
write_attributes = []
all attributes are marked as writable but if I dowrite_attributes = ["name"]
only the attributes name can me modified. Seem's to have a problem with an empty list, looks like it's ignored.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Deploy the upper client and you will see that all attributes are writable but if you but in write_attributes one element it's working as expected.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No