bored-jackal-93148
12/10/2019, 11:04 PMvpc.publicSubnetIds.reduce((gateways, id) => {
gateways[pulumi.interpolate`${id}`] = vpc.addNatGateway(
`${config.release.name}-${name}-${id}-gateway`,
{ subnet: id },
{ parent: vpc }
);
}, {});
Doesn’t work as output can’t be a key … any guidencehandsome-truck-95168
12/10/2019, 11:42 PMbroad-finland-69602
12/11/2019, 9:41 AMblue-portugal-12071
12/11/2019, 4:39 PMpulumi up
using another application, but I want that application to know about the success of the stack creation/deletion/etc. Possible?blue-portugal-12071
12/11/2019, 4:39 PMblue-portugal-12071
12/11/2019, 4:40 PMcurved-doctor-83600
12/11/2019, 5:37 PMhandsome-truck-95168
12/11/2019, 8:18 PMaws.route53.Record.get(...)
to retrieve a record that doesn't exist (in which case I would create it), my pulumi up
fails with an error message like:
error: Preview failed: resource 'Z22LJ5YIATCQQQ_<http://consolex.dev.example.com|consolex.dev.example.com>_CNAME' does not exist
Is there another way to see if a DNS record already exists? Do I need to use the AWS SDK (from Amazon)?bored-jackal-93148
12/11/2019, 9:29 PMincalculable-diamond-5088
12/11/2019, 11:05 PMError: Error: spawnSync /bin/sh ENOBUFS
when upgrading to latest prometheus operator helm chart.
I remember I’ve seen this issue when the helm chart was big. Was it fixed, or is there a workaround?
Node: v12.7.0
Pulumi: 1.6.0elegant-dress-88912
12/12/2019, 5:04 AMcreateServiceAccount: true
elegant-dress-88912
12/12/2019, 5:10 AM// somewhere in index.ts
if (config.createServiceAccount) {
const serviceAccount = new ...
const serviceAccountKey = new ...
export const serviceAccountPrivateKey = serviceAccountKey.PrivateKey
}
won't work, because
1. later I would need to access object props of, say, serviceAccount, but this variable scope is limited by if
block
2. `export`'s seems to be not allowed in nested blocks in typescriptelegant-dress-88912
12/12/2019, 5:11 AMlet serviceAccount: type
before if
block, but not sure what to do with the 2ndambitious-ram-5811
12/12/2019, 5:13 AMlet serviceAccountPrivateKey: TypeOfThePrivateKeyType;
if (config.createServiceAccount) { ... }
export serviceAccountPrivateKey;
elegant-dress-88912
12/12/2019, 5:18 AMelegant-dress-88912
12/12/2019, 5:22 AMexport
after if
saying 'variable is used before assignment'elegant-dress-88912
12/12/2019, 5:22 AMlet serviceAccountPrivateKey: pulumi.Output<string>
before if
elegant-dress-88912
12/12/2019, 5:24 AMbored-jackal-93148
12/12/2019, 5:24 AMlet serviceAccountPrivateKey: pulumi.Output<string | undefined>
ambitious-ram-5811
12/12/2019, 5:24 AMlet serviceAccountPrivateKey = default(ThatType)
bored-jackal-93148
12/12/2019, 5:25 AMlet serviceAccountPrivateKey: pulumi.Output<string> | undefined depending on where in the onion you are
ambitious-ram-5811
12/12/2019, 5:25 AMambitious-ram-5811
12/12/2019, 5:25 AMbored-jackal-93148
12/12/2019, 5:26 AMbored-jackal-93148
12/12/2019, 5:27 AMbored-jackal-93148
12/12/2019, 5:27 AMbored-jackal-93148
12/12/2019, 5:28 AMelegant-dress-88912
12/12/2019, 5:28 AMelegant-dress-88912
12/12/2019, 5:29 AMdefault(pulumi.Output<string>)
looks invalid exprambitious-ram-5811
12/12/2019, 5:29 AMlet foo: [anything you type here]
, it doesn't actually assign itambitious-ram-5811
12/12/2019, 5:29 AMlet foo: [anything you type here]
, it doesn't actually assign it