Skip to content

alexeygnetko/gh-actions-with-iam-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Demo of GH Action authentication with IAM role

This is a demo code for the post: AWS in GitHub Actions: authenticate with IAM roles and forget about Access Keys.

Usage

The code can be used as a reference. If you fork this repository and want to make it work, please follow these steps:

  1. Adjust a repository name and other variables in variables.tf
  2. Add policies you need to the assumable IAM role in iam.tf
  3. Apply Terraform:
cd terraform
terraform apply
  1. Put an IAM role ARN from Terraform Outputs to verify-iam-role.yml workflow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages