Coder Social home page Coder Social logo

tf-module-iam-role's Introduction

Terraform Module: IAM Role

This is DAQ's Terraform Module for AWS IAM role management.

This repo provides a template for other Terraform repos to create IAM roles.

Install

  • pre-commit
    • install pre-commit
    • run pre-commit install locally

Usage

This module creates an IAM Role and its policy document. You need to pass your custom policy document or a list of AWS pre-defined policies to the module.

Example

See examples.

Requirements

Name Version
terraform >= 0.13

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_iam_policy.custom_policy resource
aws_iam_policy_attachment.custom_policy_attachment resource
aws_iam_role.custom_role resource
aws_iam_role_policy_attachment.existing_policy_attachment resource
aws_caller_identity.current data source
aws_iam_policy_document.assume_role data source

Inputs

Name Description Type Default Required
arns_assume_role List of ARNs of IAM entities that can assume the role list(string) [] no
existing_iam_policy_arns List of ARNs of existing IAM policies list(string) [] no
iam_policy_document Custom IAM policy document string "" no
name_prefix Name prefix for IAM role name string "" no
role_description An optional IAM role description string "" no
role_path An optional IAM role path string "" no
services_assume_role List of services that can assume the role list(string) [] no

Outputs

Name Description
role_arn IAM role ARN
role_name IAM role name

tf-module-iam-role's People

Contributors

leoc-22 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.