chilly-hairdresser-56259
05/22/2020, 9:05 PMbest-lifeguard-91445
05/22/2020, 9:41 PMgreat-byte-67992
05/23/2020, 4:36 AMwitty-spring-28765
05/23/2020, 9:54 AMable-beard-29160
05/23/2020, 11:43 AMwonderful-dog-9045
05/23/2020, 11:48 AMable-beard-29160
05/23/2020, 6:04 PMpulumi.StackReference
work with anything else other than the Pulumi service? I'm not sure what to pass as a stack name to the constructor.green-school-95910
05/24/2020, 4:22 AM--replace
option and the only way I could find to get the urn of a resource without having to change the code was to inspect the state using pulumi stack export
green-school-95910
05/24/2020, 4:32 AMastonishing-gpu-37274
05/24/2020, 7:36 AMerror: Error creating Lambda function: ResourceConflictException: Function already exist: ****-8d56ff7
{
RespMetadata: {
StatusCode: 409,
RequestID: "a4e2508b-7d19-43cc-93db-e08b1f64914e"
},
Message_: "Function already exist: ***-8d56ff7",
Type: "User"
}
I tried using --refresh, recreating the stack, switching to a different account.
The lambda is actually created even when this error occur
Looking at the AWS cloudtrail events, I see that CreateFunction is called twice, with a 2 min difference(the time it takes to create it).
Using the latest pulumi version, anyone knows how to resolve? As a workaround I'm quickly deleting the lambda before the 2nd time it creates it, and that seems to make the pulumi update finish successfullyblue-businessperson-90950
05/24/2020, 8:52 AMblue-businessperson-90950
05/24/2020, 8:53 AMblue-businessperson-90950
05/24/2020, 8:54 AMalert-restaurant-79151
05/24/2020, 2:30 PMbrainy-psychiatrist-41826
05/24/2020, 5:37 PMgo mod vendor
, but the GH action always refetches the depslimited-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 PMambitious-father-68746
05/26/2020, 3:29 PMgentle-diamond-70147
05/26/2020, 5:20 PM--show-secrets
without the passphrase. This will be a manual process, modifying your state file directly, so it might be easier/quicker to start over if this is not a critical stack.ambitious-father-68746
05/26/2020, 5:24 PM