https://pulumi.com logo
#aws
Title
# aws
b

better-activity-84090

10/09/2023, 9:24 AM
Hello, I'm getting empty updates (on every
pulumi up
) on my
UserPoolClient
since updating
@pulumi/aws
to 6.x+, is anybody seeing anything similar ? User pool client is pretty basic (cf thread) When doing a
preview --json
, both old state and new state have the same exact values, the changes seems to come from
analyticsConfiguration
:
Copy code
"diffReasons": [
                "analyticsConfiguration"
            ],
            "detailedDiff": null
Copy code
export const AppUsersPoolxxxClient = new aws.cognito.UserPoolClient("AppUsersPoolxxxClient", {
    accessTokenValidity: 60,
    enableTokenRevocation: true,
    explicitAuthFlows: [
        "ALLOW_USER_SRP_AUTH",
        "ALLOW_USER_PASSWORD_AUTH",
        "ALLOW_REFRESH_TOKEN_AUTH",
    ],
    idTokenValidity: 60,
    name: "xxx",
    preventUserExistenceErrors: "ENABLED",
    readAttributes: [
        "given_name",
        "email_verified",
        "zoneinfo",
        "website",
        "preferred_username",
        "name",
        "locale",
        "phone_number",
        "family_name",
        "birthdate",
        "middle_name",
        "phone_number_verified",
        "profile",
        "picture",
        "address",
        "gender",
        "updated_at",
        "nickname",
        "email",
    ],
    tokenValidityUnits: {
        accessToken: "minutes",
        idToken: "minutes",
    },
    userPoolId: AppUsersPool.id,
    writeAttributes: [
        "given_name",
        "zoneinfo",
        "website",
        "preferred_username",
        "name",
        "locale",
        "phone_number",
        "family_name",
        "birthdate",
        "middle_name",
        "profile",
        "picture",
        "address",
        "gender",
        "updated_at",
        "nickname",
        "email",
    ],
});
image.png
m

melodic-tomato-39005

10/09/2023, 2:51 PM
Hi @better-activity-84090, that could be a bug. Would you mind filing an issue at https://github.com/pulumi/pulumi-aws/issues, ideally with a simple program to reproduce it? Thanks!
b

better-activity-84090

10/10/2023, 7:13 AM
Thanks @melodic-tomato-39005, created an issue here 🙂 https://github.com/pulumi/pulumi-aws/issues/2868