-
Notifications
You must be signed in to change notification settings - Fork 4.5k
EFS: support setting the AZ when setting up a oneZone FileSystem #30005
Copy link
Copy link
Closed
Labels
@aws-cdk/aws-efsRelated to Amazon Elastic File SystemRelated to Amazon Elastic File Systemeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
We'd like to be able to specify which AZ the one-zone FS should be in
Use Case
So it's in the same AZ as the rest of our setup. This is for a test environment so one AZ is fine and cheaper.
Proposed Solution
There's a vpcSubnets constructor prop, it'd be handy if it could work like this
const efs = new FileSystem(this, 'Efs', {
vpc,
encrypted: true,
oneZone: true,
vpcSubnets: { availabilityZones: [ 'eu-west-1b' ] },
})But maybe some other solution is easier.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
CDK version used
2.136.0
Environment details (OS name and version, etc.)
Artix Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-efsRelated to Amazon Elastic File SystemRelated to Amazon Elastic File Systemeffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2