awslabs / ssosync

Populate AWS SSO directly with your G Suite users and groups using either a CLI or AWS Lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Application in AWS Serverless Repository requires values for optional parameters

spock-abadai opened this issue · comments

Describe the bug
When deploying the application from the AWS Serverless Application Repository, none of the fields can be left empty. The deployment fails with a warning similar to the attached.

image

This is problematic because:

  1. It effectively forces users to use an explicit include list for groups.
  2. It requires values for GoogleGroupMatch, GoogleUserMatch, IgnoreGroups and IgnoreUsers. While one can provide a wildcard filter for the former two (email:*) and a dummy value for the latter two, it is still a nuissance.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://console.aws.amazon.com/lambda/home#/create/app?applicationId=arn:aws:serverlessrepo:us-east-2:004480582608:applications/SSOSync'
  2. Fill in all the arguments except IncludeGroups, and deploy
  3. See error

Expected behavior
It would be better if optional parameters can just be left empty and achieve behavior similar to omitting the parameter in the CLI.

@ChrisPates Can you add that information to the docs, the Deploy via Serverless App is your recommended install.