I’m trying to spin up a Cloudformation Stack from ...
# general
m
I’m trying to spin up a Cloudformation Stack from a template, and it’s timing out after 20 minutes, even though I’ve set the
timeoutInMinutes
in the args. Am I missing something?
Copy code
new aws.cloudformation.Stack(`${name}-cfn`, {
  parameters: { ... },
  capabilities: ["CAPABILITY_IAM"],
  timeoutInMinutes: 120
}
The exact error:
Copy code
aws:cloudformation:Stack (controller-tableau-cfn):
    error: 1 error occurred:
        * creating urn:pulumi:controller::shared-infra-controller::aws:cloudformation/stack:Stack::controller-tableau-cfn: timeout while waiting for state to become 'CREATE_COMPLETE, CREATE_FAILED, DELETE_COMPLETE, DELETE_FAILED, ROLLBACK_COMPLETE, ROLLBACK_FAILED' (last state: 'CREATE_IN_PROGRESS', timeout: 20m0s)
f
timeoutInMinutes
is timeout for the template. Separately, There’s generally a timeout on every resource, Cloudformation or not. So you’re hitting that timeout. You can control that timeout by setting
customTimouts
in the resource options.
m
Thank you!