8000 Add Condition to the Trust Relationship of IAM Role to be from the same account · Issue #13124 · serverless/serverless · GitHub
[go: up one dir, main page]

Skip to content

Add Condition to the Trust Relationship of IAM Role to be from the same account #13124

@gligorkot

Description

@gligorkot

Is there an existing issue for this?

  • I have searched existing issues, it hasn't been reported yet

Use case description

Currently the default IAM role template allows "lambda.amazonaws.com" to Assume STS Role without any restrictions. For security purposes, it would be a good idea to add a condition to this trust relationship that the source account matches the AWS Account ID that the role is deployed in.

Proposed solution (optional)

PR for this incoming soon

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branc 2CC3 hes or pull requests

    Issue actions

      0