I have an ECS task created with cdk which gets environment variables from an S3 file. It works fine on AWS, but localstack isn’t setting the environment variables on the container (checked using docker inspect
). Is using S3 files for env vars supported?
taskDefinition.addContainer("example", {
image: ...,
environmentFiles: [
ecs.EnvironmentFile.fromBucket(bucket, `task.env`),
],
});
I’m running localstack-pro 3.2.0