3737 # get efs to unmount
3838 node . default [ 'cluster' ] [ 'unmount_efs_shared_dir_array' ] , node . default [ 'cluster' ] [ 'unmount_efs_fs_id_array' ] , = get_efs ( UNMOUNT_ACTION )
3939 # get efs to mount
40- node . default [ 'cluster' ] [ 'mount_efs_shared_dir_array' ] , node . default [ 'cluster' ] [ 'mount_efs_fs_id_array' ] , node . default [ 'cluster' ] [ 'mount_efs_encryption_in_transit_array' ] , node . default [ 'cluster' ] [ 'mount_efs_iam_authorization_array' ] = get_efs ( MOUNT_ACTION )
40+ node . default [ 'cluster' ] [ 'mount_efs_shared_dir_array' ] , node . default [ 'cluster' ] [ 'mount_efs_fs_id_array' ] , node . default [ 'cluster' ] [ 'mount_efs_encryption_in_transit_array' ] , node . default [ 'cluster' ] [ 'mount_efs_iam_authorization_array' ] , node . default [ 'cluster' ] [ 'mount_efs_access_point_array' ] = get_efs ( MOUNT_ACTION )
4141 # get fsx to unmount
4242 node . default [ 'cluster' ] [ 'unmount_fsx_fs_id_array' ] , node . default [ 'cluster' ] [ 'unmount_fsx_fs_type_array' ] , node . default [ 'cluster' ] [ 'unmount_fsx_shared_dir_array' ] , node . default [ 'cluster' ] [ 'unmount_fsx_dns_name_array' ] , node . default [ 'cluster' ] [ 'unmount_fsx_mount_name_array' ] , node . default [ 'cluster' ] [ 'unmount_fsx_volume_junction_path_array' ] = get_fsx ( UNMOUNT_ACTION )
4343 # get fsx to mount
@@ -78,6 +78,7 @@ def get_efs(action)
7878 efs_fs_id_array = [ ]
7979 efs_encryption_in_transit_array = [ ]
8080 efs_iam_authorization_array = [ ]
81+ efs_access_point_id_array = [ ]
8182 unless in_shared_storages_mapping [ "efs" ] . nil?
8283 in_shared_storages_mapping [ "efs" ] . each do |storage |
8384 next unless not_in_shared_storages_mapping [ "efs" ] . nil? || !not_in_shared_storages_mapping [ "efs" ] . include? ( storage )
@@ -86,9 +87,10 @@ def get_efs(action)
8687 # The EFS resource expects strings for these attributes, not booleans
8788 efs_encryption_in_transit_array . push ( String ( storage [ "efs_encryption_in_transit" ] ) )
8889 efs_iam_authorization_array . push ( String ( storage [ "efs_iam_authorization" ] ) )
90+ efs_access_point_id_array . push ( String ( storage [ "efs_access_point_id" ] ) )
8991 end
9092 end
91- [ shared_dir_array , efs_fs_id_array , efs_encryption_in_transit_array , efs_iam_authorization_array ]
93+ [ shared_dir_array , efs_fs_id_array , efs_encryption_in_transit_array , efs_iam_authorization_array , efs_access_point_id_array ]
9294 end
9395
9496 def get_fsx ( action )
0 commit comments