busy-umbrella-36067
10/03/2018, 9:00 PMpulumi destroy
should use a fire emoji or somethingbusy-umbrella-36067
10/03/2018, 9:53 PMglamorous-printer-66548
10/03/2018, 11:19 PMwooden-toddler-96888
10/04/2018, 1:59 AMDiagnostics:
aws:dynamodb:Table: Weblab
error: Plan apply failed: ValidationException: One or more parameter values were invalid: Some index key attributes are not defined in AttributeDefinitions. Keys: [weblab,, revision], AttributeDefinitions: [latest, weblab, revision]
status code: 400, request id: OR00VLUOA2V4LMU1CV4MLC9ITFVV4KQNSO5AEMVJF66Q9ASUAAJG
My table spec is:
// Create a Weblab table
const table = new aws.dynamodb.Table("Weblab", {
attributes: [
{
name: "weblab",
type: "S"
},
{
name: "revision",
type: "N"
},
{
name: "latest",
type: "N"
}
],
rangeKey: "revision",
hashKey: "weblab",
globalSecondaryIndexes: [
{
name: "revision-index",
hashKey: "revision",
rangeKey: "weblab,",
projectionType: "INCLUDE",
nonKeyAttributes: [
"description"
],
readCapacity: 5,
writeCapacity: 5
},
{
name: "latest-index",
hashKey: "latest",
rangeKey: "weblab",
projectionType: "INCLUDE",
nonKeyAttributes: [
"revision",
"activations"
],
readCapacity: 5,
writeCapacity: 5
}
],
readCapacity: 5,
writeCapacity: 5,
serverSideEncryption: {
enabled: true
},
pointInTimeRecovery: {
enabled: true
}
});
Somewhere there's a blank index key being injected. Can't figure out where.wooden-toddler-96888
10/04/2018, 2:08 AMrangeKey: "weblab,",
gray-city-50684
10/04/2018, 1:36 PMgray-city-50684
10/04/2018, 1:54 PMgray-city-50684
10/04/2018, 1:55 PMgray-city-50684
10/04/2018, 1:56 PMgray-city-50684
10/04/2018, 3:11 PMbusy-umbrella-36067
10/04/2018, 5:20 PMerror: TypeError: Cannot read property 'split' of undefined
at Object.<anonymous> (/XXXXXX/node_modules/@pulumi/docker.ts:391:47)
at Generator.next (<anonymous>)
at fulfilled (/XXXXXX/node_modules/@pulumi/docker/docker.js:17:58)
getDockerBuild = function(item, repository, ecrCreds) {
return new docker.Image(item.name, {
imageName: repository.repositoryUrl,
build: {
context: "./docker/standard",
args: {
"XXXXXXXXXX": "XXXXXXX",
"ARTIFACT_URL": "XXXXXX",
"ARTIFACT_SHA": "XXXXXX"
}
},
registry: ecrCreds
}, { parent: repository })
}
Repository doesnât exist yet >.>adventurous-jordan-10043
10/04/2018, 5:22 PMgray-city-50684
10/04/2018, 5:34 PMgray-city-50684
10/04/2018, 5:36 PMhundreds-traffic-99765
10/04/2018, 5:39 PMdazzling-scientist-80826
10/04/2018, 5:41 PMred-gpu-20097
10/04/2018, 5:47 PMdazzling-scientist-80826
10/04/2018, 5:50 PMdazzling-scientist-80826
10/04/2018, 5:50 PMbusy-umbrella-36067
10/04/2018, 7:27 PM<http://api.pulumi.com|api.pulumi.com>
updated via dns?
I periodically get DNS resolution failures and have to login againbig-piano-35669
faint-application-2746
10/04/2018, 8:16 PMconst bucket = new cloud.Bucket("<http://contextubot.net|contextubot.net>", { protect: true });
creates a new one with some random string đhappy-egg-47291
10/04/2018, 11:33 PMlet lambda = new aws.lambda.Function("test-lambda", {
runtime: aws.lambda.Go1dxRuntime,
code: new pulumi.asset.FileAsset("/tmp/artifacts/aws_lambda.zip"),
timeout: 300,
handler: "server",
role: role.arn,
environment: {
variables: {
"FOO": "bar"
}
},
});
but I'm getting an error error: expected an asset, but filename is not an asset
adventurous-jordan-10043
10/05/2018, 10:04 AMadventurous-jordan-10043
10/05/2018, 10:04 AMgray-city-50684
10/05/2018, 12:06 PMbusy-umbrella-36067
10/05/2018, 3:21 PMfull-dress-10026
10/05/2018, 4:04 PMbusy-umbrella-36067
10/05/2018, 4:12 PMbusy-umbrella-36067
10/05/2018, 4:16 PM