swift-painter-31084
06/25/2019, 4:58 PMendpoint.get( '/posts/{postId}', ( req, res ) => {
const post = req.params.postId;
console.log( post );
postsTable.get( { post } ).then( ( value ) => {
res.status( 200 ).json( value );
} );
} );
worried-engineer-33884
06/25/2019, 7:16 PMcreate
to fail?damp-pillow-67781
06/25/2019, 8:38 PM.json
or a .yaml
file, but when calling object.body()
it shows undefined. I wonder is this the proper way to get the content or any other suggestions on how to get that? The code I have now: const latestFile = aws.s3.getBucketObject({
bucket: bucket,
key: `${key}/pod-settings_latest.json`,
});
console.log(`latest file: ${latestFile.body}`);
which have the output as undefined
.glamorous-printer-66548
06/25/2019, 10:42 PM<http://pulumi.io|pulumi.io>
) and some other stacks in that project use the local
backend? The use case is that some of our engineers want to deploy to their personal minikube in which case it would make more sense to use the local
backend.rich-lamp-32782
06/26/2019, 1:36 AMcool-egg-852
06/26/2019, 1:42 PMcool-egg-852
06/26/2019, 2:21 PMpulumi version
gives v0.17.19
but brew info pulumi
gives v0.17.20
.quick-action-34599
06/26/2019, 3:47 PMawsx.ecs.Image.fromPath("<path-to-dockerfile>")
but the docs (and a syntax error on my end) say fromPath
requires two arguments.swift-dinner-29731
06/26/2019, 5:32 PMtimeout while waiting for state to become 'true' (last state: 'false', timeout: 10m0s)
and after this, i have +1 running task, but not replacing existing
It stucks on the taskDefinition
└─ awsx:x:ecs:FargateService
~ └─ aws:ecs:Service updating [diff: ~taskDefinition]
witty-pillow-9988
06/26/2019, 5:44 PMcool-egg-852
06/26/2019, 6:54 PMbusy-umbrella-36067
06/26/2019, 9:12 PM@pulumi/eks/Cluster
with multiple people and IAM creds?
If one of us creates the cluster, others can’t even refresh the stack since some K8S resources are created with a provider that doesn’t give them access. (no assume role inside of the aws-iam-authenticator
section
We can create a new provider with the necessary changes to deploy things on top of the cluster but there are still resources created by the @pulumi/eks/Cluster
class (configmaps, rbac, dashboard) which use the default provider
This is blocking us from having multiple people work with the same stack.swift-painter-31084
06/26/2019, 11:37 PMcloud.Table
, but postsTable.dynamodbTable.onEvent( 'parseFeedPost', async ( e ) => {
won't deploy because the stream doesn't exist and throws an error based on an empty ARN.
It doesn't appear that I can set that directly when creating a Cloud Table, is there a way to set it later i.e.
const enableStream = () => { postsTable.dynamodbTable.streamEnabled( true ); };?bored-river-53178
06/27/2019, 1:23 AMbrew upgrade
colossal-room-15708
06/27/2019, 1:37 AMhelpful-advantage-49286
06/27/2019, 3:38 AMpulumi preview
is saying it will replace an instance?helpful-advantage-49286
06/27/2019, 3:39 AMimportant-ram-83431
06/27/2019, 9:33 AMbored-river-53178
06/27/2019, 10:15 AMstale-postman-77028
06/27/2019, 11:26 AMstale-postman-77028
06/27/2019, 11:26 AMstale-postman-77028
06/27/2019, 11:26 AMstale-postman-77028
06/27/2019, 11:27 AMbetter-rainbow-14549
06/27/2019, 11:31 AMstale-postman-77028
06/27/2019, 11:31 AMbetter-rainbow-14549
06/27/2019, 11:32 AMstale-postman-77028
06/27/2019, 11:32 AMbetter-rainbow-14549
06/27/2019, 11:33 AMglamorous-waitress-51149
06/27/2019, 12:18 PMstocky-spoon-28903
06/27/2019, 12:38 PMstocky-spoon-28903
06/27/2019, 12:38 PMglamorous-waitress-51149
06/27/2019, 12:41 PMbroad-dog-22463
06/27/2019, 12:42 PMglamorous-waitress-51149
06/27/2019, 12:43 PMbroad-dog-22463
06/27/2019, 12:44 PMglamorous-waitress-51149
07/02/2019, 10:30 AMawsx.ec2.Vpc.fromExistingIds
seems to fail or doesn’t return an object for some reason. we’d like to have a vpc object that means we can access the privateSubnetIds
property. any ideas?stocky-spoon-28903
07/02/2019, 2:11 PMglamorous-waitress-51149
07/02/2019, 2:34 PMconst primaryVpc = awsx.ec2.Vpc.fromExistingIds("primary", {
vpcId: primaryVpcId
});
primaryVpcId
is a value in our config of the vpc id 🙂broad-dog-22463
07/03/2019, 9:37 AMglamorous-waitress-51149
07/03/2019, 9:41 AMbroad-dog-22463
07/03/2019, 9:49 AMglamorous-waitress-51149
07/03/2019, 9:50 AMconst sg = new awsx.ec2.SecurityGroup("jcsg", {vpc: primaryVpc});
broad-dog-22463
07/03/2019, 9:54 AMglamorous-waitress-51149
07/03/2019, 9:59 AMbroad-dog-22463
07/03/2019, 9:59 AMconst vpc = pulumi.output(aws.ec2.getVpc({
id: "vpc-866580ff",
}));
export const id = vpc.id;
const primaryVpc = awsx.ec2.Vpc.fromExistingIds("primary", {
vpcId: "vpc-866580ff"
});
export const xId = primaryVpc.id;
▶ pulumi up --yes
Previewing update (dev):
Type Name Plan
pulumi:pulumi:Stack aws-vpc-dev
Resources:
2 unchanged
Updating (dev):
Type Name Status
pulumi:pulumi:Stack aws-vpc-dev
Outputs:
id : "vpc-866580ff"
xId: "vpc-866580ff"
Resources:
2 unchanged
Duration: 8s
fromExistingIds
isn't returning an object, then there's something wrong with the lookup to your accountglamorous-waitress-51149
07/03/2019, 10:07 AMbroad-dog-22463
07/03/2019, 10:07 AMglamorous-waitress-51149
07/03/2019, 10:08 AMbroad-dog-22463
07/03/2019, 10:09 AMglamorous-waitress-51149
07/03/2019, 10:10 AMbroad-dog-22463
07/03/2019, 10:10 AMglamorous-waitress-51149
07/03/2019, 10:12 AMfromExistingIds
because when you create a vpc its fine using const vpc = new awsx.ec2.Vpc("custom", {
subnets: [{ type: "public" }, { type: "private" }],
});
broad-dog-22463
07/03/2019, 10:12 AMglamorous-waitress-51149
07/03/2019, 10:17 AMbroad-dog-22463
07/03/2019, 10:18 AM+ privateSubnets: []
+ publicSubnets : []
xId : "vpc-866580ff"
glamorous-waitress-51149
07/03/2019, 10:18 AMbroad-dog-22463
07/03/2019, 10:19 AMglamorous-waitress-51149
07/03/2019, 10:19 AMbroad-dog-22463
07/03/2019, 10:43 AMglamorous-waitress-51149
07/03/2019, 10:45 AMbroad-dog-22463
07/03/2019, 10:52 AMfresh-summer-65887
07/03/2019, 11:13 AMbroad-dog-22463
07/03/2019, 11:14 AMglamorous-waitress-51149
07/03/2019, 11:46 AMaws.ec2.getSubnetIds({vpcId: primaryVpcId,})
but problem is the results don’t tell you what type the subnet is eg/private/public/isolated etc 🙂fresh-summer-65887
07/03/2019, 1:23 PMglamorous-waitress-51149
07/03/2019, 1:23 PMfresh-summer-65887
07/03/2019, 1:50 PMglamorous-waitress-51149
07/04/2019, 8:59 AMbroad-dog-22463
07/04/2019, 9:02 AMglamorous-waitress-51149
07/04/2019, 9:09 AMbroad-dog-22463
07/04/2019, 9:10 AMglamorous-waitress-51149
07/04/2019, 9:11 AMbroad-dog-22463
07/04/2019, 9:17 AMglamorous-waitress-51149
07/04/2019, 9:20 AMbroad-dog-22463
07/04/2019, 9:20 AM