Skip to content

Is it possible to attach managed policy? #114

@davorceman

Description

@davorceman

Is it possible to attach managed policies to roles created with this plugin?
I'm deploying rest of the stack with TF or CF, and I would like to create managed policy with correct permissions to these resources needed for these lambdasw (Kinesis, DynamoDB, RDS...).
Then I should be able to attach these managed policies to roles per function created with this plugin.

Something similar is possible without plugin, using just aws provider, but this is for all functions. I would like to have it per function :)

iam:
    role:
      managedPolicies:
        - arn:aws:iam::123456789:policy/myPolicy1
        - arn:aws:iam::123456789:policy/myPolicy2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions