aws / res

Research and Engineering Studio (RES) is an AWS supported open source product that enables IT administrators to provide an easy-to-use web portal for scientists and engineers to run technical computing workloads on AWS.
https://github.com/aws/res
Apache License 2.0
82 stars 17 forks source link

[BUG] Custom project VDI host policy not listed in Project Definition form #52

Open manics opened 4 months ago

manics commented 4 months ago

Describe the bug I'm trying to add a custom project IAM policy following the Add policies section of https://docs.aws.amazon.com/res/latest/ug/projects.html#project-launch-template I've created an IAM policy with tag res:Resource=vdi-host-policy

However, it's not listed in the RES project Project Definition form

Steps to reproduce

  1. Create an IAM policy
  2. Tag it with res:Resource=vdi-host-policy
  3. In RES either edit an existing project, or create a new project
  4. Go to Resource Configurations → Advanced Options → Add Policies and expand the list
  5. Policy is not listed

Expected behavior The policy created in steps 1-2 is listed, and can be selected

Actual behavior The policy isn't listed.

Screenshots/Video

image

Environment (please complete the following information):

Additional context My suspicion is it's due to the AWS account having over 1000 policies. This guess is based on:

so whether the policy is returned would depend on whether it is before or after the 1000th item in the list