able-tomato-34262
07/03/2018, 1:23 PMpreview
and update
command using python take ~40 seconds for a 30 lines program ?able-tomato-34262
07/03/2018, 2:13 PMpulumi config set aws:region eu-west-1
( my resources were previously in us-east-1 ) and I expected pulumi to destroy all my resources in us-east-1
to create them in eu-west-1
but pulumi seemed to lost track of my resources then, I couldn't do anything, even destroy. Is that the expected behaviour ?able-tomato-34262
07/03/2018, 2:14 PMaws:region
back to us-east-1
, destroy, change the config again and then creates them in my new regionimportant-jackal-88836
07/03/2018, 10:43 PMimportant-jackal-88836
07/03/2018, 11:01 PMpulumi stack export
important-jackal-88836
07/03/2018, 11:04 PMwhite-balloon-205
able-tomato-34262
07/04/2018, 1:39 PMupdate
: I tried to update a stack which had no changes and it tried to delete some resource :
$ pulumi update
Previewing update of stack 'prod'
Previewing changes:
Type Name Plan Info
info: no changes required:
9 resources unchanged
Do you want to perform this update? yes
Updating stack 'prod'
Performing changes:
Type Name Status Info
* pulumi:pulumi:Stack first-pulumi-prod done
-- └─ aws:rds:Instance base_c **deleting failed** 2 errors
Diagnostics:
aws:rds:Instance: base_c
error: Plan apply failed: deleting urn:pulumi:prod::first-pulumi::aws:rds/instance:Instance::base_c: DB Instance FinalSnapshotIdentifier is required when a final snapshot is required
error: update failed
info: no changes required:
9 resources unchanged
Permalink: <https://app.pulumi.com/jnancel/prod/updates/13>
error: update failed
That's a pretty scary behavior. Any idea what might have happened ?able-tomato-34262
07/04/2018, 2:37 PMable-tomato-34262
07/04/2018, 2:54 PMable-tomato-34262
07/04/2018, 2:57 PMquaint-queen-37896
07/06/2018, 5:05 AMquaint-queen-37896
07/06/2018, 5:09 AMquaint-queen-37896
07/06/2018, 5:09 AMimage.png▾
quaint-queen-37896
07/06/2018, 6:32 AMquaint-queen-37896
07/06/2018, 6:33 AMcreamy-potato-29402
07/06/2018, 6:52 AMquaint-queen-37896
07/06/2018, 6:57 AMquaint-queen-37896
07/06/2018, 6:57 AMquaint-queen-37896
07/06/2018, 7:03 AMimage.png▾
quaint-queen-37896
07/06/2018, 7:03 AMwtfgarble
option here.. 404's 😕quaint-queen-37896
07/06/2018, 7:05 AMquaint-queen-37896
07/06/2018, 7:05 AMDo you want to perform this destroy? yes
Destroying stack 'wtfgarble'
Permalink: <https://app.pulumi.com/ctolkien/wtfgarble/updates/8>
error: failed to load resource plugin azure: failed to perform plugin load callback: failed to save snapshot: after mutation of snapshot: child resource urn:pulumi:wtfgarble::Soda-Digital/pulumi-test::azure:core/resourceGroup:ResourceGroup::test-pulumi refers to missing parent urn:pulumi:wtfgarble::Soda-Digital/pulumi-test::pulumi:pulumi:Stack::Soda-Digital/pulumi-test-wtfgarble
quaint-queen-37896
07/06/2018, 7:17 AMquaint-queen-37896
07/06/2018, 7:18 AMcreamy-potato-29402
07/06/2018, 7:18 AMtall-librarian-49374
07/06/2018, 2:34 PMcloud.API
, should I require
my modules inside the get
function itself? I tried to use request
imported on top of the files and it failed with a warning not to close on requires... So I do
endpoint.get("/", (req, res) => {
const request = require('request');
request(url, ...
helpful-lighter-74534
07/07/2018, 5:56 AMstocky-spoon-28903
07/08/2018, 1:24 PMnames.length
result of aws.getAvailabilityZones()
to pass into something that wants a number
, and then use the output of that to map to aws.ec2.Subnet
objects?big-piano-35669