Hi Everyone i am trying to update my pulumi versio...
# aws
Hi Everyone i am trying to update my pulumi version from 2.20.0 into 3.27.0. i also updated pulumi-aws from 3.28.1 to 5.1.0. While deploying the stack i saw errors like: error: 1 error occurred: * updating urnpulumidev:backend stacksawssqs/queueQueueLeads dev SqsLeadsFallback 1 error occurred: * error waiting for SQS Queue (**) attributes to update: timeout while waiting for state to become 'equal' (last state: 'notequal', timeout: 2m0s) is any of you guys familiar with this kind of error?
we've had another issue for this in the last 24 hours if I recall, could you open an issue at github.com/pulumi/pulumi-aws with a repro please
i didn't manage to reproduce it in any other environment other than the one i am working on. i also tried to increase the timeouts by setting
property but it didn't help. The timeouts remain on 2m. what else can i do?
@billowy-army-68599 now i deleted the resources from the stack state using
pulumi state delete
However, it failed again on creation and not update. the timeout there is still "2m"
@billowy-army-68599 i opened issue in github like you instructed me to do: https://github.com/pulumi/pulumi-aws/issues/1893
@best-train-86003 can you please add code to allow us to repro the issue
@billowy-army-68599 here is the code:
Copy code
import * as aws from "@pulumi/aws";

const q = new aws.sqs.Queue('Experts-CS-dev-Experts-CSLambda20220404121254156400000016', {
    kmsDataKeyReusePeriodSeconds: 300,
    maxMessageSize: 10240,
    messageRetentionSeconds: 604800,
    namePrefix: 'Experts-CS-dev-Experts-CSLambda',
    policy: '{"Statement":[{"Action":["sqs:SendMessage"],"Condition":{"ArnEquals":{"aws:SourceArn":"arn:aws:sns:eu-west-1:225051786593:Experts-CS-dev-f8eba3f"}},"Effect":"Allow","Principal":{"Service":"<http://sns.amazonaws.com|sns.amazonaws.com>"},"Resource":"*"}]}',
    redrivePolicy: '{"deadLetterTargetArn":"arn:aws:sqs:eu-west-1:225051786593:Experts-CS-dev-Experts-CSLambda-dlq-8672972","maxReceiveCount":10}',
    tags: {
        costCenter: 'operations',
        org: 'cliotechweb',
        project: 'backend-stacks',
        stack: 'dev'
    visibilityTimeoutSeconds: 30

exports.queueName = q.id;
i will add it also to the issue