Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(efs): add grantRead and grantReadWrite, grantRootAccess to FileSystem #25486

Merged
merged 39 commits into from
Aug 23, 2023
Merged
Show file tree
Hide file tree
Changes from 33 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
56b9267
feat(efs): add grantXxx
WinterYukky May 8, 2023
bc716a1
Merge branch 'main' into feat/efs/add-grant-client
WinterYukky May 9, 2023
c600a49
test(efs): update integ test
WinterYukky May 11, 2023
12178dc
Revert "test(efs): update integ test"
WinterYukky May 19, 2023
481c7e2
Merge branch 'main' into feat/efs/add-grant-client
WinterYukky May 19, 2023
d98bef5
test(efs): update integ test stack name
WinterYukky May 22, 2023
3e42209
Merge branch 'feat/efs/add-grant-client' of https://github.com/Winter…
WinterYukky May 22, 2023
96749ca
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jun 7, 2023
09a8d97
chore(efs): remove Beta1 from grant APIs
WinterYukky Jun 7, 2023
a727f19
chore(efs): grantClient to private
WinterYukky Jun 7, 2023
bb906bb
feat(efs): add @aws-cdk/aws-efs:denyAnonymousAccess feature flag
WinterYukky Jun 26, 2023
f42c0b8
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jun 26, 2023
24791d1
chore(efs): update feature flag doc
WinterYukky Jun 26, 2023
722252c
Merge branch 'main' into feat/efs/add-grant-client
WinterYukky Jun 27, 2023
e6a9d69
test(efs): update integ
WinterYukky Jun 28, 2023
38b1579
doc(batch): use efs grant
WinterYukky Jun 28, 2023
89450fc
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 3, 2023
d829d1e
chore: resolve conflicts
WinterYukky Jul 3, 2023
8da3fab
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 7, 2023
b53753c
chore: update feature flags documents
WinterYukky Jul 7, 2023
14b782a
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 13, 2023
7da118d
chore(efs): update integ
WinterYukky Jul 13, 2023
e003b87
refactor: array initialize
WinterYukky Jul 15, 2023
05af82d
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 19, 2023
8b710fd
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 19, 2023
aea3960
test(efs): update integ
WinterYukky Jul 19, 2023
89349d2
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 19, 2023
e04d272
test(efs): update integ
Jul 19, 2023
32d7c18
Merge branch 'feat/efs/add-grant-client' of https://github.com/Winter…
WinterYukky Jul 20, 2023
11cf645
docs(efs): add iam import
WinterYukky Jul 20, 2023
1629420
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 20, 2023
515c092
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Jul 25, 2023
883994d
revert unassociated modules
WinterYukky Jul 25, 2023
b3d08e5
Update packages/aws-cdk-lib/cx-api/lib/features.ts
WinterYukky Aug 7, 2023
cb5c97a
Update packages/aws-cdk-lib/aws-efs/README.md
WinterYukky Aug 7, 2023
92d991a
Merge branch 'main' of https://github.com/WinterYukky/aws-cdk into fe…
WinterYukky Aug 18, 2023
403dafe
Merge remote-tracking branch 'origin/main' into pr/WinterYukky/25486
rix0rrr Aug 23, 2023
3b64939
Merge branch 'main' into feat/efs/add-grant-client
rix0rrr Aug 23, 2023
9101d71
Merge branch 'main' into feat/efs/add-grant-client
mergify[bot] Aug 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"version": "20.0.0",
"version": "32.0.0",
"files": {
"b1edd83a738f14bf7faf27a98a7ff437aa9b1a003f15e438e837a28247d7a45b": {
"4ebb40ec520bf6b68cfa4dab9b8cc83c8add54f6b6e74d5b6aae861dd836b111": {
"source": {
"path": "aws-ecs-fargate-efs.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "b1edd83a738f14bf7faf27a98a7ff437aa9b1a003f15e438e837a28247d7a45b.json",
"objectKey": "4ebb40ec520bf6b68cfa4dab9b8cc83c8add54f6b6e74d5b6aae861dd836b111.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,26 @@
"Type": "AWS::EFS::FileSystem",
"Properties": {
"Encrypted": true,
"FileSystemPolicy": {
"Statement": [
{
"Action": [
"elasticfilesystem:ClientRootAccess",
"elasticfilesystem:ClientWrite"
],
"Condition": {
"Bool": {
"elasticfilesystem:AccessedViaMountTarget": "true"
}
},
"Effect": "Allow",
"Principal": {
"AWS": "*"
}
}
],
"Version": "2012-10-17"
},
"FileSystemTags": [
{
"Key": "Name",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"20.0.0"}
{"version":"32.0.0"}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "20.0.0",
"version": "32.0.0",
"testCases": {
"integ.fargate-with-efs": {
"stacks": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"version": "20.0.0",
"version": "32.0.0",
"artifacts": {
"Tree": {
"type": "cdk:tree",
"properties": {
"file": "tree.json"
}
},
"aws-ecs-fargate-efs.assets": {
"type": "cdk:asset-manifest",
"properties": {
Expand All @@ -23,7 +17,7 @@
"validateOnSynth": false,
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-deploy-role-${AWS::AccountId}-${AWS::Region}",
"cloudFormationExecutionRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-cfn-exec-role-${AWS::AccountId}-${AWS::Region}",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/b1edd83a738f14bf7faf27a98a7ff437aa9b1a003f15e438e837a28247d7a45b.json",
"stackTemplateAssetObjectUrl": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/4ebb40ec520bf6b68cfa4dab9b8cc83c8add54f6b6e74d5b6aae861dd836b111.json",
"requiresBootstrapStackVersion": 6,
"bootstrapStackVersionSsmParameter": "/cdk-bootstrap/hnb659fds/version",
"additionalDependencies": [
Expand Down Expand Up @@ -227,6 +221,12 @@
]
},
"displayName": "aws-ecs-fargate-efs"
},
"Tree": {
"type": "cdk:tree",
"properties": {
"file": "tree.json"
}
}
}
}
Loading