sparse-intern-71089
02/27/2023, 8:27 PMlittle-cartoon-10569
02/27/2023, 8:31 PMpolite-umbrella-11196
02/27/2023, 8:31 PMpolite-umbrella-11196
02/27/2023, 8:32 PMpolite-umbrella-11196
02/27/2023, 8:32 PMpolite-umbrella-11196
02/27/2023, 8:32 PMpolite-umbrella-11196
02/27/2023, 8:32 PMlittle-cartoon-10569
02/27/2023, 8:32 PMlittle-cartoon-10569
02/27/2023, 8:33 PMpolite-umbrella-11196
02/27/2023, 8:33 PMlittle-cartoon-10569
02/27/2023, 8:33 PMpolite-umbrella-11196
02/27/2023, 8:33 PMpolite-umbrella-11196
02/27/2023, 8:33 PMlittle-cartoon-10569
02/27/2023, 8:34 PMpolite-umbrella-11196
02/27/2023, 8:34 PMlittle-cartoon-10569
02/27/2023, 8:36 PMpolite-umbrella-11196
02/27/2023, 8:36 PMtypescript
as a devDependency so now at least I get links into definitions)polite-umbrella-11196
02/27/2023, 8:37 PMpolite-umbrella-11196
02/27/2023, 8:37 PMlittle-cartoon-10569
02/27/2023, 8:39 PMnew
.polite-umbrella-11196
02/27/2023, 8:40 PMlisteners
parameters instead of creating them as a separate action?polite-umbrella-11196
02/27/2023, 8:40 PMlittle-cartoon-10569
02/27/2023, 8:40 PM@pulumi/aws
resources. For example, in TargetGroupAttachment, a target group is defined thus: targetGroup?: pulumi.Input<<http://pulumiAws.lb|pulumiAws.lb>.TargetGroup>;
little-cartoon-10569
02/27/2023, 8:40 PM@pulumi/aws
little-cartoon-10569
02/27/2023, 8:41 PMlittle-cartoon-10569
02/27/2023, 8:42 PMpolite-umbrella-11196
02/27/2023, 8:43 PMconst alb = new awsx.lb.ApplicationLoadBalancer('recorder-traffic', {
listeners: [
{
port: 80,
protocol: 'HTTP',
defaultActions: [{
type: 'redirect',
redirect: {
protocol: 'HTTPS',
port: '443',
statusCode: 'HTTP_301',
},
}],
},
],
});
Yeah this looks like the path I found toopolite-umbrella-11196
02/27/2023, 8:43 PMlittle-cartoon-10569
02/27/2023, 8:44 PMpolite-umbrella-11196
02/27/2023, 8:44 PMpolite-umbrella-11196
02/27/2023, 8:52 PMpolite-umbrella-11196
02/27/2023, 8:53 PMalb.listeners[1].endpoint
but itās an Output<>
type which means I need to hit it with some kind of uglystick?little-cartoon-10569
02/27/2023, 8:54 PMlittle-cartoon-10569
02/27/2023, 8:55 PMapply()
to get those values.polite-umbrella-11196
02/27/2023, 8:55 PMpolite-umbrella-11196
02/27/2023, 8:55 PMconst albDomain = new aws.route53.Record(domainName, {
name: domainName,
zoneId: hostedZoneId,
type: 'CNAME',
records: [alb.listeners[1].endpoint],
ttl: 600,
});
little-cartoon-10569
02/27/2023, 8:56 PMlisteners.apply((listeners) => listeners[1]).endpoint
polite-umbrella-11196
02/27/2023, 8:57 PMpolite-umbrella-11196
02/27/2023, 8:58 PMpolite-umbrella-11196
02/27/2023, 9:03 PMpolite-umbrella-11196
02/27/2023, 9:08 PMaws
example that covers that material instead?little-cartoon-10569
02/27/2023, 9:49 PMlittle-cartoon-10569
02/27/2023, 9:59 PMpolite-umbrella-11196
02/27/2023, 10:00 PMlittle-cartoon-10569
02/27/2023, 10:01 PMpolite-umbrella-11196
02/27/2023, 10:01 PMpolite-umbrella-11196
02/27/2023, 11:31 PMconst task = new aws.ecs.TaskDefinition('recorder-task', {
family: 'service',
containerDefinitions: JSON.stringify([
{
name: 'recorder',
image: imageUri,
cpu: 512,
memory: 128,
portMappings: [{ containerPort: 80, hostPort: 80 }],
},
]),
});
This generates an error that Container.image repository should be 255 characters or less.
. Any suggestions on what to try?polite-umbrella-11196
02/27/2023, 11:31 PMlittle-cartoon-10569
02/27/2023, 11:32 PMpolite-umbrella-11196
02/27/2023, 11:32 PMpolite-umbrella-11196
02/27/2023, 11:32 PMlittle-cartoon-10569
02/27/2023, 11:33 PM