big-piano-35669
big-piano-35669
big-piano-35669
cool-egg-852
06/12/2019, 8:55 PMfierce-dinner-20116
06/12/2019, 9:01 PMPrincipal
snippet? Or will any number do?
"Principal": {
"AWS": "arn:aws:iam::153052954103:root"
},
2) Is it possible to map the cluster admin role to an AWS IAM Group instead of just an IAM role?early-musician-41645
06/12/2019, 9:06 PMbrave-salesmen-42327
06/12/2019, 9:49 PMaverage-dream-51210
06/13/2019, 12:13 AMaverage-dream-51210
06/13/2019, 1:04 AMagreeable-refrigerator-25320
06/13/2019, 2:17 PMagreeable-refrigerator-25320
06/13/2019, 2:17 PMelegant-crayon-4967
06/13/2019, 3:33 PMInvalidRequest: The request received was invalid status code: 400
error. Is there any way to tell what exactly Pulumi / TS views as invalid? No errors easily seen in codeproud-alarm-92546
06/13/2019, 5:13 PMTSError: ⨯ Unable to compile TypeScript:
index.ts(17,5): error TS2345: Argument of type '{ vpc: Output<any>; }' is not assignable to parameter of type 'ClusterArgs'.
Types of property 'vpc' are incompatible.
Type 'Output<any>' is not assignable to type 'Vpc | undefined'.
(code and error output in thread)plain-businessperson-30883
06/13/2019, 5:29 PMlimited-rainbow-51650
06/13/2019, 7:00 PMbitter-van-74785
06/13/2019, 7:19 PMelasticloadbalancingv2.TargetGroup(health_check={}, ..... )
where do I go to find the syntax of the dictionary? Boto3, cloudformation, or terraform?
I ask because it's neither in the documentation or the SDK code in githubchilly-photographer-60932
06/13/2019, 9:26 PM20
stacks for a pulumi repo.
All of these above shares the same code expect configuration.
Config
Dev
Staging
Prod
When there is a config change in Dev
config
, we would like to deploy only to Dev
and to no other ENV.
Within the CI we can identify which files have changed with something like this https://stackoverflow.com/a/424142/19407 and then deploy only to those ENV, which is somewhat Hacky IMO.
Is there a better way to solve this? How is everyone else solving this issue?
Thanksnarrow-area-11460
06/13/2019, 9:50 PMmost-judge-33290
06/13/2019, 9:55 PMlet lb = new awsx.elasticloadbalancingv2.ApplicationTargetGroup(
"scolasticua_api_tg",
{ port: 80 }
).createListener("scolasticua_api_ls", { port: 80 });
let cluster = aws.ecs.getCluster({ clusterName: "tyc00n-fb4c62c" });
let service = new awsx.ecs.FargateService("scolasticus_api", {
desiredCount: 2,
taskDefinitionArgs: {
containers: {
scolasticus_api: {
image:
"scolasticus_api:latest",
memory: 512,
portMappings: [lb]
}
}
},
cluster: cluster
});
most-judge-33290
06/13/2019, 9:55 PMmost-judge-33290
06/13/2019, 9:56 PMmost-judge-33290
06/13/2019, 9:56 PMbrave-angle-33257
06/14/2019, 1:35 AMaverage-dream-51210
06/14/2019, 3:13 AMaverage-dream-51210
06/14/2019, 3:13 AMaverage-dream-51210
06/14/2019, 3:14 AMaverage-dream-51210
06/14/2019, 3:15 AMaverage-dream-51210
06/14/2019, 3:15 AMchilly-analyst-14900
06/14/2019, 12:35 PMchilly-analyst-14900
06/14/2019, 12:36 PM