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

Add support for role assumption #423

Merged
merged 1 commit into from
Sep 8, 2019
Merged

Add support for role assumption #423

merged 1 commit into from
Sep 8, 2019

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Sep 7, 2019

Fixes #422

As with other provider attributes, evaluate the assume_role block and make it available in TFLint. This PR makes such as the following role assumption works:

provider "aws" {
  assume_role {
    role_arn     = "arn:aws:iam::ACCOUNT_ID:role/ROLE_NAME"
    session_name = "SESSION_NAME"
    external_id  = "EXTERNAL_ID"
  }
}

@wata727 wata727 merged commit a67744a into master Sep 8, 2019
@wata727 wata727 deleted the assume_role branch September 8, 2019 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

AWS role assumption
1 participant