Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iamGlobalPermissionsBoundary is required, but not read #72

Open
excenter opened this issue Jan 19, 2021 · 1 comment
Open

iamGlobalPermissionsBoundary is required, but not read #72

excenter opened this issue Jan 19, 2021 · 1 comment

Comments

@excenter
Copy link

excenter commented Jan 19, 2021

  Error: schema is invalid: data.properties['custom'].properties['serverless-iam-roles-per-function'].properties['iamGlobalPermissionsBoundary'] should be object,boolean

function definition

functions:
  add_tabs:
    handler: handler.add_tabs
    description: add tabs to an existing template
    iamRoleStatements:
      - Effect: 'Allow'
        Action:
          - ssm:GetParameters
        Resource: '*'

using sls framework 1.8.3, plugin v3.1.0

I attempted to fill in this to quell the error, but to no avail.

custom:
  serverless-iam-roles-per-function:
    iamGlobalPermissionsBoundary: false

@glicht
Copy link
Member

glicht commented Feb 26, 2021

@excenter It might be associated to the sls version (1.8.3 is quite old).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants