Skip to content

Commit f27f456

Browse files
authored
docs(ecs): remove restriction regarding environment files against Fargate (#27081)
Currently, CDK document includes the following description. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs-readme.html#environment-variables > Support for environment files is restricted to the EC2 launch type for files hosted on S3. However, this is out of date. Fargate has been [supported environment files](https://aws.amazon.com/jp/blogs/containers/latest-updates-to-aws-fargate-for-amazon-ecs/), and this restriction on CDK had been already removed by #11820. This PR removes the out of date description from document. Closes #18226 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 0b241d9 commit f27f456

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/aws-cdk-lib/aws-ecs/README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,7 @@ newContainer.addSecret('API_KEY', ecs.Secret.fromSecretsManager(secret));
490490
newContainer.addSecret('DB_PASSWORD', ecs.Secret.fromSecretsManager(secret, 'password'));
491491
```
492492

493-
The task execution role is automatically granted read permissions on the secrets/parameters. Support for environment
494-
files is restricted to the EC2 launch type for files hosted on S3. Further details provided in the AWS documentation
493+
The task execution role is automatically granted read permissions on the secrets/parameters. Further details provided in the AWS documentation
495494
about [specifying environment variables](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html).
496495

497496
### Linux parameters

0 commit comments

Comments
 (0)