quaint-guitar-13446
04/29/2022, 4:55 AMconst service = new awsx.ecs.FargateService(n('caddy-service'), {
cluster,
taskDefinitionArgs: {
container: {
image: caddyImage,
environment: getCaddyEnvironment(),
portMappings: targetGroups,
},
volumes: [
{
name: 'certificates',
efsVolumeConfiguration: {
fileSystemId: certificatesEfs.efs.id,
authorizationConfig: {
accessPointId: certificatesEfs.ap.id,
iam: 'ENABLED',
},
transitEncryption: 'ENABLED',
},
},
],
executionRole: ecsExecutionRole,
taskRole: createFargateTaskRole('caddy', [certificatesEfs.mountPolicy]),
},
waitForSteadyState: false,
});
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by