Control: FSx for OpenZFS file systems should be configured for Multi-AZ deployment
Description
This control checks whether an Amazon FSx for OpenZFS file system is configured to use the multiple Availability Zones (Multi-AZ) deployment type. The control fails if the file system isn't configured to use the Multi-AZ deployment type.
Usage
Run the control in your terminal:
powerpipe control run aws_compliance.control.fsx_openzfs_file_system_multi_az_deployment_enabled
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run aws_compliance.control.fsx_openzfs_file_system_multi_az_deployment_enabled --share
SQL
This control uses a named query:
select arn as resource, case when file_system_type <> 'OPENZFS' then 'skip' when open_zfs_configuration ->> 'DeploymentType' = 'MULTI_AZ_1' then 'ok' else 'alarm' end as status, case when file_system_type <> 'OPENZFS' then title || ' is of ' || file_system_type || ' type file system.' when open_zfs_configuration ->> 'DeploymentType' = 'MULTI_AZ_1' then title || ' Multi-AZ deployment enabled.' else title || ' Multi-AZ deployment disabled.' end as reason , region, account_idfrom aws_fsx_file_system;