Skip to content

Terraform module which creates some IAM resources on AWS.

License

Notifications You must be signed in to change notification settings

rabiloo/terraform-aws-iam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS IAM Terraform module

Terraform module which creates some IAM resources on AWS.

Usage

module "gitlab_provider" {
  source  = "rabiloo/iam/aws//modules/iam-gitlab-oidc-provider"
  version = "~> 0.4.0"

  url = "https://gitlab.example.com"

  tags = {
    Company = "example"
  }
}

module "gitlab_deployer_role" {
  source  = "rabiloo/iam/aws//modules/iam-gitlab-oidc-role"
  version = "~> 0.4.0"

  name_prefix  = "gitlab-ci-deployer-"
  path         = "/service-roles/"
  provider_url = module.gitlab_provider.url
  subjects     = ["my-org/my-repo"]

  tags = {
    Namespace = "my-org"
    Project = "my-repo"
  }
}

Requirements

No requirements.

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

No inputs.

Outputs

No outputs.

Development

  1. Install opentofu, 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.