Code Monkey home page Code Monkey logo

terraform-aws-account-identity's Introduction

terraform-aws-account-identity

Lint Status LICENSE

This terraform module creates identity roles on AWS

This modules creates the following resources:

  • Identity and Access Management (IAM) roles and policies
  • Identity roles created:
    • Admin Access
      • Policy attached: "arn:aws:iam::aws:policy/AdministratorAccess"
    • Data Scientist
      • Policy attached: "arn:aws:iam::aws:policy/job-function/DataScientist"
    • Database Admin
      • Policy attached: "arn:aws:iam::aws:policy/job-function/DatabaseAdministrator"
    • Network Admin
      • Policy attached: ""arn:aws:iam::aws:policy/job-function/NetworkAdministrator"
    • Power User Access
      • Policy attached: "arn:aws:iam::aws:policy/PowerUserAccess"
    • Security Audit
      • Policy attached: "arn:aws:iam::aws:policy/SecurityAudit"
    • Support User
      • Policy attached: "arn:aws:iam::aws:policy/job-function/SupportUser""
    • System Admin
      • Policy attached: "arn:aws:iam::aws:policy/job-function/SystemAdministrator"
    • View Only Access
      • Policy attached: "arn:aws:iam::aws:policy/job-function/ViewOnlyAccess"

In addition you have the option to:

  • Set or not a IAM account alias
  • Set Maximum CLI/API session duration
    • The default value is 43200

Requirements

Name Version
terraform >= 0.12.0

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
account_name Account name (slug) any n/a yes
create_default_roles Create default roles in the account bool true no
enable_iam_password_policy Enable IAM passoword policy bool false no
extra_roles A list of extra roles to create in this account list [] no
extra_roles_policy A map of { <role_name> = } to create policies to extra roles in this account (role must be declared at extra_roles first) map {} no
extra_roles_policy_arn A map of { <role_name> = } to attach policies to extra roles in this account (role must be declared at extra_roles first) map {} no
iam_password_policy_max_password_age n/a number 90 no
iam_password_policy_password_reuse_prevention n/a number 12 no
org_name Name for this organization (slug) any n/a yes
role_max_session_duration Maximum CLI/API session duration string "43200" no
saml_provider_arn SAML Provider ARN to trust the roles created (pass either a name or ARN) string "" no
saml_provider_name SAML Provider name to trust the roles created (pass either name or ARN) string "" no
set_account_alias Whether to set or not IAM account alias bool true no

Outputs

Name Description
iam_role_admin_arn AdministratorAccess IAM role ARN
iam_role_data_scientist_arn DataScientist IAM role ARN
iam_role_database_admin_arn DatabaseAdministrator IAM role ARN
iam_role_extra_arns n/a
iam_role_network_admin_arn NetworkAdministrator IAM role ARN
iam_role_power_user_arn PowerUserAccess IAM role ARN
iam_role_security_audit_arn SecurityAudit IAM role ARN
iam_role_support_user_arn SupportUser IAM role ARN
iam_role_system_admin_arn SystemAdministrator IAM role ARN
iam_role_view_only_arn ViewOnlyAccess IAM role ARN

Authors

Module managed by DNX Solutions.

License

Apache 2 Licensed. See LICENSE for full details.

terraform-aws-account-identity's People

Contributors

adenot avatar arthurbdiniz avatar dougdnx avatar mvsnogueira-dnx avatar wvxavier 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.