Skip to content

Commit 5e2e0f8

Browse files
Add efs access point id to update recipe mounting
1 parent 5b064d8 commit 5e2e0f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cookbooks/aws-parallelcluster-environment/recipes/config/update_shared_storages.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
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'], node.default['cluster']['mount_efs_access_point_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_id_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
@@ -193,6 +193,7 @@ def get_raid(action)
193193
efs_fs_id_array(lazy { node['cluster']['mount_efs_fs_id_array'] })
194194
efs_encryption_in_transit_array(lazy { node['cluster']['mount_efs_encryption_in_transit_array'] })
195195
efs_iam_authorization_array(lazy { node['cluster']['mount_efs_iam_authorization_array'] })
196+
efs_access_point_id_array(lazy { node['cluster']['mount_efs_access_point_id_array'] })
196197
action :mount
197198
not_if { node['cluster']['mount_efs_shared_dir_array'].empty? }
198199
end

0 commit comments

Comments
 (0)