Skip to content

Commit

Permalink
Add efs access point id to update recipe mounting (#2844)
Browse files Browse the repository at this point in the history
  • Loading branch information
dreambeyondorange authored Dec 4, 2024
1 parent 583e4d7 commit 8acd1ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste

**BUG FIXES**
- Fix an issue in the way we get region when manage volumes so that it can correctly handle local zone.
- Fix an issue where adding EFS filesystems with `AccessPointIds` during an update would fail.

3.11.1
------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# get efs to unmount
node.default['cluster']['unmount_efs_shared_dir_array'], node.default['cluster']['unmount_efs_fs_id_array'], = get_efs(UNMOUNT_ACTION)
# get efs to mount
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)
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)
# get fsx to unmount
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)
# get fsx to mount
Expand Down Expand Up @@ -193,6 +193,7 @@ def get_raid(action)
efs_fs_id_array(lazy { node['cluster']['mount_efs_fs_id_array'] })
efs_encryption_in_transit_array(lazy { node['cluster']['mount_efs_encryption_in_transit_array'] })
efs_iam_authorization_array(lazy { node['cluster']['mount_efs_iam_authorization_array'] })
efs_access_point_id_array(lazy { node['cluster']['mount_efs_access_point_id_array'] })
action :mount
not_if { node['cluster']['mount_efs_shared_dir_array'].empty? }
end
Expand Down

0 comments on commit 8acd1ed

Please sign in to comment.