sparse-intern-71089
03/16/2023, 4:16 PMbored-branch-92019
03/16/2023, 4:16 PM@pulumi/pulumi
: 3.58.0billowy-army-68599
bored-branch-92019
03/16/2023, 6:21 PMconst service = new awsx.ecs.FargateService("pulumi-service", {
cluster: cluster.arn,
desiredCount: 2,
networkConfiguration: {
assignPublicIp: true,
securityGroups: [securityGroup.id],
subnets: vpc.publicSubnetIds
},
taskDefinitionArgs: {
container: {
// would in the future pull this from a ECR repository
image: "nginx:latest",
cpu: 512,
memory: 128,
essential: true,
portMappings: [
{
targetGroup: lb.defaultTargetGroup,
}
]
},
},
});
bored-branch-92019
03/16/2023, 6:51 PMbillowy-army-68599
protect
on those resources so that it won’t modify any immutable propertiesbillowy-army-68599
bored-branch-92019
03/16/2023, 7:35 PM