https://pulumi.com logo
m

millions-furniture-75402

05/28/2020, 9:12 PM
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

faint-table-42725

05/28/2020, 9:21 PM
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

millions-furniture-75402

05/28/2020, 9:22 PM
Thank you!
2 Views