damp-room-71337
08/22/2019, 5:35 PMOutputs
in template strings - whatever I do here returns a Calling [toString] on an [Output<T>]...
error - what am I missing?
// Route53 zone
const clusterApexZone = new aws.route53.Zone("apex", {
name: `${pulumi.getStack()}.<http://synchronicity-dc.uk|synchronicity-dc.uk>`
});
// Route53 Zone update policy
const eksWorkerRoute53ReadWritePolicy = new aws.iam.Policy(
"eks-worker-r53-rw",
{
description:
"Allows EKS workers to read/write records in a specific R53 zone",
policy: pulumi.interpolate `{
Version: "2012-10-17",
Statement: [
{
Action: ["route53:ChangeResourceRecordSets"],
Effect: "Allow",
Resource: "arn:aws:route53:::hostedzone/${clusterApexZone.zoneId}"
}
]
}`
}, { dependsOn: clusterApexZone }
);
cool-egg-852
08/22/2019, 6:18 PMpulumi.Output()
or do pulumi.interpolate
only on the Resource
value.cool-egg-852
08/22/2019, 10:18 PMavailabilityType: 'REGIONAL'
? Should it not simply make it an HA cluster?helpful-bear-175
08/22/2019, 11:54 PMaws-iam-authenticator and npm install
before running pulumi previewhelpful-bear-175
08/22/2019, 11:54 PMbest-xylophone-83824
08/23/2019, 10:02 AMcmd-args: config config-helper --format=json
cmd-path: gcloud
expiry-key: '{.credential.token_expiry}'
token-key: '{.credential.access_token}'
which I think totally ignores { provider: ... }
argument used to create gcp.container.Cluster
, and just picks whatever env vars or ~/.config/gcloud points tobillowy-magazine-60366
08/23/2019, 11:15 AMgray-school-80301
08/23/2019, 2:11 PMgetKubernetesCluster
expect the unique name but there is no function for the ResourceGroup to get a list of the existing clusters like az resource list -g name
.big-potato-91793
08/23/2019, 2:28 PMfull-dress-10026
08/23/2019, 4:01 PMhigh-translator-22614
08/23/2019, 4:24 PMhigh-translator-22614
08/23/2019, 4:28 PMIf your kubectl CLI,, is already working, you should be good to go as Pulumi respects its configuration.kubectl
big-potato-91793
08/23/2019, 4:50 PMbackend:
url: <s3://mybucketName>
big-potato-91793
08/23/2019, 4:52 PMpulumi login --cloud-url <s3://my-pulumi-state-bucket>
and
pulumi login s3:///app/data
brave-angle-33257
08/23/2019, 5:32 PMbrave-angle-33257
08/23/2019, 5:32 PMworried-engineer-33884
08/23/2019, 6:56 PMconst awsConfig = new pulumi.Config("aws");
const awsRegion = awsConfig.require("region");
and later
const sns = new awsSdk.SNS({ region: awsRegion });
this errors with:
Diagnostics:
pulumi-nodejs:dynamic:Resource (monitoring-topic-email-subscription):
error: Plan apply failed: Missing required configuration variable 'aws:region'
please set a value using the command `pulumi config set aws:region <value>`
pulumi:pulumi:Stack (dev):
error: update failed
Is this because dependency libraries cannot read a project config?
cc @dazzling-memory-8548high-translator-22614
08/23/2019, 7:15 PMaws:region
?worried-engineer-33884
08/23/2019, 7:35 PMgetProvider
still supported?early-intern-90238
08/26/2019, 12:20 PMbest-waiter-16927
08/26/2019, 1:15 PMbored-river-53178
08/26/2019, 1:45 PMclever-nest-47198
08/26/2019, 2:18 PMclever-nest-47198
08/26/2019, 2:19 PMcool-egg-852
08/26/2019, 2:19 PMquick-action-34599
08/26/2019, 2:31 PMpulumi up
getting stuck on completing deletion from previous update
. It’s wanting to delete an ACM cert that’s in use and I want to prevent that. Is there a way to revert the deletion and cancel it or something?some-doctor-62800
08/26/2019, 2:51 PMsalmon-beard-79336
08/26/2019, 2:55 PMbitter-dentist-28132
08/26/2019, 3:31 PMasync
block? i tried doing
export let output;
async function doAsyncStuff(() => {
...
output = `${someResource.ingressHost}`;
});
doAsyncStuff().then(() => console.log(output));
the console.log prints `output`'s value in the diagnostics, but for whatever reason i don't get an actual stack output.quick-action-34599
08/26/2019, 5:18 PM