Skip to content

Commit a599e12

Browse files
committed
patch(feat): octo-aws-cdk region-filesystem to save filesystem name in EFS.
1 parent 67e693e commit a599e12

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/octo-aws-cdk/src/overlays/region-filesystem/actions/add-region-filesystem.overlay.action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AddRegionFilesystemOverlayAction implements IModelAction {
2626
// Create EFS.
2727
const efs = new Efs(
2828
`efs-${properties.regionId}-${properties.filesystemName}-filesystem`,
29-
{ awsRegionId: properties.awsRegionId },
29+
{ awsRegionId: properties.awsRegionId, filesystemName: properties.filesystemName },
3030
[],
3131
);
3232

packages/octo-aws-cdk/src/resources/efs/efs.interface.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export interface IEfsProperties {
22
awsRegionId: string;
3+
filesystemName: string;
34
}
45

56
export interface IEfsResponse {

0 commit comments

Comments
 (0)