pulumi / pulumi-aws

An Amazon Web Services (AWS) Pulumi resource package, providing multi-language access to AWS
Apache License 2.0
429 stars 151 forks source link

Cognito User Pool, tags don't exist #3231

Open christrt9 opened 6 months ago

christrt9 commented 6 months ago

What happened?

I try to create Cognito User Pool but in AWS the tags don't show, how can i add them in AWS

Example

user_pool = cognito.UserPool(name,
            name=name,
            schemas=[
                # Make the built-in 'email' attribute required
                {
                    'attributeDataType': 'String',
                    'developerOnlyAttribute': False,
                    'mutable': True,
                    'name': 'email',
                    'required': True,
                    'stringAttributeConstraints': {
                        'maxLength': '2048',
                        'minLength': '1'
                    }
                }
            ],
            tags={
                "Name": name,
                "environment": "dev",
            } 
        )

Output of pulumi about

CLI Version 3.99.0 Go Version go1.21.5 Go Compiler gc

Plugins NAME VERSION aws 5.43.0 python unknown

Host
OS linuxmint Version 21 Arch x86_64

This project is written in python: executable='/usr/bin/python3' version='3.10.12'

Current Stack: xxxx/pulumi-xxxx/dev

TYPE URN pulumi:pulumi:Stack urn:pulumi:dev::xxx::pulumi:pulumi:Stack::xxxx pulumi:providers:aws urn:pulumi:dev::xxx::pulumi:providers:aws::default_5_43_0 aws:cognito/userPool:UserPool urn:pulumi:dev::xxx::aws:cognito/userPool:UserPool::xxx aws:cognito/userPoolDomain:UserPoolDomain urn:pulumi:dev::xxx::aws:cognito/userPoolDomain:UserPoolDomain::xxx

Found no pending operations associated with xxxx/xxx

Dependencies: NAME VERSION pip 23.3.1 pulumi-aws 5.43.0 setuptools 69.0.2 wheel 0.42.0

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

iwahbe commented 6 months ago

Hey @r00t9. I'm sorry things aren't working as you expected. Just to clarify, the program runs, but the tags described don't show up in the console?

If so, that definitely sounds like a bug.

christrt9 commented 6 months ago

@iwahbe Yes it create ok in the AWS, but in aws console tags is empty

iwahbe commented 5 months ago

Thanks for confirming @r00t9.