Skip to content

rabiloo/terraform-aws-iam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS IAM Terraform module

Terraform module which creates some IAM resources on AWS.

Usage

module "user" {
  source  = "rabiloo/iam/aws//modules/iam-user"
  version = "~> 0.3.0"

  name = "deployer"
  path = "/service-users/"

  tags = {
    Owner   = "user"
    Service = "app-name"
  }
}

module "role" {
  source  = "rabiloo/iam/aws//modules/iam-assumable-role"
  version = "~> 0.3.0"

  name = "custom-ecs-task-role"
  path = "/service-roles/"

  trusted_services = ["ecs-tasks.amazonaws.com"]
  custom_policies  = ["arn:aws:iam::aws:policy/service-role/AmazonECSTaskExecutionRolePolicy"]

  tags = {
    Owner   = "user"
    Service = "app-name"
  }
}

Requirements

No requirements.

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

No inputs.

Outputs

No outputs.

Development

  1. Install terrform, tflint, terraform-docs and make
  2. Using make
make help

Contributing

All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send a pull request.

If you would like to help take a look at the list of issues.

License

This project is released under the MIT License.
Copyright © 2023 Rabiloo Co., Ltd
Please see License File for more information.