orange-tailor-85423
08/13/2019, 5:23 PMorange-tailor-85423
08/13/2019, 5:23 PMbitter-dentist-28132
08/13/2019, 5:32 PMgetResourceProperty
results in errors 😞modern-bear-85657
08/13/2019, 6:02 PMelegant-crayon-4967
08/13/2019, 6:19 PMaws.secretsmanager
but the documentation has me confused on how I actually pass the secret into my resource. Anybody have an example?thankful-optician-22583
08/13/2019, 7:35 PMCould not create watcher for ReplicaSet objects associated with Deployment
bitter-island-28909
08/13/2019, 8:44 PMbitter-dentist-28132
08/13/2019, 8:46 PMdependsOn
for thatbitter-dentist-28132
08/13/2019, 10:10 PMbitter-dentist-28132
08/13/2019, 10:10 PMworried-engineer-33884
08/13/2019, 11:16 PMsquare-ability-48831
08/14/2019, 12:51 AMaws.dynamodb.getTable({name: 'mytablename'})
is what i need to get the resource. tried wrapping in an async function but it seems to just not build the resource at all.cool-egg-852
08/14/2019, 4:53 AMbillions-fall-36374
08/14/2019, 9:50 AMhelpful-afternoon-80621
08/14/2019, 11:13 AMconst allowTls = new aws.ec2.SecurityGroup('allowTls', {
description: 'Allow TLS inbound traffic',
ingress: [
{
cidrBlocks: '',
fromPort: 443,
protocol: 'tcp',
toPort: 443
}
],
tags: {
Name: 'allowAll'
}
});
I'm getting a long cryptic typescript error that isn't much use in indicating what is actually wrong.
Error:(12, 56) TS2345: Argument of type '{ description: string; ingress: { cidrBlocks: string; fromPort: number; protocol: string; toPort: number; }[]; tags: { Name: string; }; }' is not assignable to parameter of type 'SecurityGroupArgs'.
Types of property 'ingress' are incompatible.
Type '{ cidrBlocks: string; fromPort: number; protocol: string; toPort: number; }[]' is not assignable to type 'Input<{ cidrBlocks?: Input<string>[] | Promise<Input<string>[]> | OutputInstance<Input<string>[]> | undefined; description?: string | Promise<string> | OutputInstance<string> | undefined; ... 6 more ...; toPort: Input<...>; }>[] | Promise<...> | OutputInstance<...> | undefined'.
Type '{ cidrBlocks: string; fromPort: number; protocol: string; toPort: number; }[]' is not assignable to type 'Input<{ cidrBlocks?: Input<string>[] | Promise<Input<string>[]> | OutputInstance<Input<string>[]> | undefined; description?: string | Promise<string> | OutputInstance<string> | undefined; ... 6 more ...; toPort: Input<...>; }>[]'.
Type '{ cidrBlocks: string; fromPort: number; protocol: string; toPort: number; }' is not assignable to type 'Input<{ cidrBlocks?: Input<string>[] | Promise<Input<string>[]> | OutputInstance<Input<string>[]> | undefined; description?: string | Promise<string> | OutputInstance<string> | undefined; ... 6 more ...; toPort: Input<...>; }>'.
Type '{ cidrBlocks: string; fromPort: number; protocol: string; toPort: number; }' is not assignable to type '{ cidrBlocks?: Input<string>[] | Promise<Input<string>[]> | OutputInstance<Input<string>[]> | undefined; description?: string | Promise<string> | OutputInstance<string> | undefined; ... 6 more ...; toPort: Input<...>; }'.
Types of property 'cidrBlocks' are incompatible.
Type 'string' is not assignable to type 'Input<string>[] | Promise<Input<string>[]> | OutputInstance<Input<string>[]> | undefined'.
Running v0.17.28.
Thanksbest-xylophone-83824
08/14/2019, 1:01 PMbusy-pizza-73563
08/14/2019, 1:06 PMFound incompatible versions of @pulumi/pulumi. Differing major or minor versions are not supported.
Version 0.17.28 referenced at node_modules\@pulumi\kubernetes\node_modules\@pulumi\pulumi\package.json
Version 1.0.0-beta.2 referenced at node_modules\@pulumi\pulumi\package.json
Is this known / expected?best-xylophone-83824
08/14/2019, 1:22 PMPreviewing update ($NEWORG/prod):
error: could not deserialize deployment: decrypting secret value: [404] Not Found: Organization '$OLDORG' not found
best-xylophone-83824
08/14/2019, 3:59 PMpulumi.output(new gcp.compute.Subnetwork("z", {ipCidrRange: "111", network: "zzz"})).name;
Error on `tsc --noEmit`:
Property 'name' does not exist on type 'OutputInstance<Subnetwork>'.
16 pulumi.output(new gcp.compute.Subnetwork("z", {ipCidrRange: "111", network: "zzz"})).name;
little-energy-64187
08/14/2019, 5:55 PMconst dbUser = new gcp.sql.User("myuser", {
instance: dbInstance.name,
name: "project/instancename/myuser"
}, { import: "project/instancename/myuser" })
ends up in Preview failed: reading resource urn:pulumi:projectname::stackname::gcp:sql/user:User::project/instancename/myuser yielded an unexpected ID; expected project/instancename/myuser, got myuser//instancename
little-energy-64187
08/14/2019, 5:59 PMbillowy-laptop-45963
08/14/2019, 6:13 PMadamant-dress-73325
08/14/2019, 7:48 PMpulumi new
but now the project name is not showing up on the dashboard. I made sure that the project name in Pulumi.yaml was set correct, any reason why stack init
wouldn't name these correctly?boundless-coat-60947
08/14/2019, 8:17 PMboundless-monkey-50243
08/14/2019, 8:19 PMcool-egg-852
08/14/2019, 8:28 PMgifted-engine-92308
08/15/2019, 1:39 PMgifted-engine-92308
08/15/2019, 1:39 PMsalmon-beard-79336
08/15/2019, 2:03 PMparameters
says [key: string]: any;
it won’t take a dictionary? Error: parameters ($connections): '' expected type 'string', got unconvertible type 'map[string]interface {}'
const processWorkflow = new azure.logicapps.Workflow('process-url', {
location: resourceGroup.location,
resourceGroupName: resourceGroup.name,
parameters: {
"$connections": {
"defaultValue": {},
"type": "Object"
}
}
});
salmon-beard-79336
08/15/2019, 2:06 PMconst processWorkflow = new azure.logicapps.Workflow('process-url', {
location: resourceGroup.location,
resourceGroupName: resourceGroup.name,
parameters: {
"$connections": JSON.stringify({
// "defaultValue": {},
// "type": "Object"
"value": {
"documentdb": {
"connectionId": "/subscriptions/639952d4-dcc0-49f4-a588-d59bfb63cf4b/resourceGroups/shortener-rg0620430b/providers/Microsoft.Web/connections/api-connection-to-cosmosdb",
"connectionName": "logicapp-comosdb-connection",
"id": "/subscriptions/639952d4-dcc0-49f4-a588-d59bfb63cf4b/providers/Microsoft.Web/locations/westeurope/managedApis/documentdb"
}
}
})
}
});