generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Bug description
Non-admin users cannot share VDIs due to an empty permission profile dropdown. This occurs due to a API authorization failure, preventing the dropdown from being populated.
Affected versions
2025.12 and 2025.12.01
Mitigation
- Download patch_lambda.py and updated function code zip for version
2025.12and2025.12.01by replacing<output-directory>with the directory to download the patch file and patch script in the command below:- The patch file requires AWS CLI v2, Python 3.9.16 or above, and Boto3.
- Configure the AWS CLI for the account / region where RES is deployed, and make sure that you have Lambda permissions to update function code.
-
OUTPUT_DIRECTORY=<output-directory> mkdir -p ${OUTPUT_DIRECTORY} curl https://research-engineering-studio-us-east-1.s3.us-east-1.amazonaws.com/releases/2025.12/patch_scripts/patch_lambda.py --output ${OUTPUT_DIRECTORY}/patch_lambda.py curl https://research-engineering-studio-us-east-1.s3.us-east-1.amazonaws.com/releases/2025.12/patch_scripts/patches/virtual_desktop_utils_controller-17000e96.zip --output ${OUTPUT_DIRECTORY}/virtual_desktop_utils_controller-17000e96.zip
- Update the lambda function code by running the following patch command by replacing
<environment-name>with the RES environment name:-
ENVIRONMENT_NAME=<environment-name> python3 ${OUTPUT_DIRECTORY}/patch_lambda.py --zip-file ${OUTPUT_DIRECTORY}/virtual_desktop_utils_controller-17000e96.zip --lambda-name ${ENVIRONMENT_NAME}-backend-lambda
-
Once the patch has been applied the Last modified attribute of the Lambda function should be recent, and non-admin users will be able to successfully retrieve the list of permission profiles and be able to share VDIs.
Metadata
Metadata
Assignees
Labels
No labels