limited-rainbow-51650
05/25/2020, 10:06 AMnode-pre-gyp WARN Pre-built binaries not installable for grpc@1.24.2 and node@12.16.3 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
What should I change to my environment for pre-built binaries to be picked up instead of the build from source? I’m currently running my job on ubuntu-latest
limited-rainbow-51650
05/25/2020, 10:29 AM/usr/bin/pulumi-action: line 103: [: missing `]'
quaint-portugal-34880
05/25/2020, 6:35 PMerror: Running program '/PATH/aws/eks/network/pulumi' failed with an unhandled exception:
Error: The root stack resource was referenced before it was initialized.
at Object.registerStackTransformation (/PATH//pulumi/adfenix_generic/node_modules/@pulumi/pulumi/runtime/stack.js:211:15)
at AdfenixGeneric.registerAutoTags (/Users/ulfmansson/RubymineProjects/infra/lib/pulumi/adfenix_generic/index.ts:86:24)
at Object.<anonymous> (/PATH/aws/eks/network/pulumi/index.ts:14:17)
The code in the module looks like this
import * as pulumi from "@pulumi/pulumi";
export function registerAutoTags(autoTags: Record<string, string>): void {
pulumi.runtime.registerStackTransformation((args) => {
if (AdfenixGeneric.isTaggable(args.type)) {
args.props["tags"] = {...args.props["tags"], ...autoTags};
return {props: args.props, opts: args.opts};
}
return undefined;
});
}
My code:
import {registerAutoTags} from "@mymodule/tags"
registerAutoTags({
"environment": environment
});
chilly-crayon-19101
05/25/2020, 9:12 PMvar app = new FunctionApp("app", new FunctionAppArgs
{
Name = $"{config.FullName}",
ResourceGroupName = resourceGroup.Name,
AppServicePlanId = appServicePlan.Id,
AppSettings =
{
{"runtime", "dotnet"},
{"WEBSITE_RUN_FROM_PACKAGE", codeBlobUrl},
{"CvApiDataConnectionString", apiStorageAccount.PrimaryConnectionString},
{"GetBlobPath", "curriculumvitae/{id}.json"},
{"ContainerName", "curriculumvitae"}
},
StorageConnectionString = functionAppStorageAccount.PrimaryConnectionString,
Version = "~3"
});
this.Endpoint = Output.Format($"https://{app.DefaultHostname}");
future-potato-71458
05/25/2020, 9:18 PMbitter-waitress-34819
05/26/2020, 2:11 AMplain-tiger-79744
05/26/2020, 9:18 AMdazzling-sundown-39670
05/26/2020, 11:10 AMlimited-carpenter-34991
05/26/2020, 11:16 AMfuture-magazine-24902
05/26/2020, 12:42 PMfuture-magazine-24902
05/26/2020, 12:42 PMfuture-magazine-24902
05/26/2020, 12:43 PMdazzling-sundown-39670
05/26/2020, 1:18 PMError creating ElasticSearch domain: ValidationException: EBS storage must be selected for t2.small.elasticsearch
Trying to fix this error but I can't really find anything in the docs on how to create one. Can someone point me in the right direction?limited-carpenter-34991
05/26/2020, 1:42 PMambitious-father-68746
05/26/2020, 3:29 PMrhythmic-finland-36256
05/26/2020, 6:25 PMbest-lifeguard-91445
05/26/2020, 7:00 PMwonderful-dog-9045
05/26/2020, 8:10 PMpulumi stack select
in interactive mode from nodejs? Using childProcess.execSync("pulumi stack select", { stdio: "inherit" } )
doesn't work, because somehow pulumi automatically goes into non-interactive mode.quiet-cat-43765
05/26/2020, 9:01 PMquiet-cat-43765
05/26/2020, 9:02 PMquiet-cat-43765
05/26/2020, 9:02 PMpulumi up
as a function call inside python? For context, I am creating some infrastructure on the fly for a data pipeline inside airflow which is a written in python.best-lifeguard-91445
05/26/2020, 9:25 PMimportant-appointment-55126
05/26/2020, 10:02 PMfamous-jelly-72366
05/27/2020, 7:02 AMsilly-stone-79070
05/27/2020, 8:10 AMctx.Export
and finally to use it doing ctx.GetConfig
. This just seems like jumping through hoops though so surely there is a better way I don't know about? Cheersbillions-breakfast-36131
05/27/2020, 11:11 AMflat-insurance-25294
05/27/2020, 11:25 AMAWS.ECR
.
However our current way of deploying is the generic copy assets to S3 and would like to keep that.
What is the current best practice in this area.
Does pulumi have support for reading a docker image or mounting a container, and access files?
Or can we call or is there a way to call docker commands from pulimi, like docker cp
to copy files over to the host (the CI) and then just go through the general Pulimi route of moving assets over?
Granted that still needs to mount/create a container out of the image.flat-insurance-25294
05/27/2020, 11:27 AMconst container = new docker.Container("frontend", {
image: ???,
});
But https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/docker/#Container doesn’t indicate anything we can do.dazzling-sundown-39670
05/27/2020, 11:32 AMawsx.ec2.Vpc
, how can I create a aws.elasticache.SubnetGroup
based on the subnets in that VPC? I've tried some different things, code in thread:limited-carpenter-34991
05/27/2020, 11:35 AM