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