Skip to content

Terraform-managed repo.

Notifications You must be signed in to change notification settings

honestbank/terraform-aws-iam

 
 

Repository files navigation

Terraform AWS IAM

A module to make creating IAM securely.

Restrictions

  • User cannot be created with inline policies
  • User cannot be created without being added to a group

See inside each submodule for details on the module

Requirements

Name Version
terraform >= 1.0
terraform ~> 1.0
aws >= 4.12.0

Providers

Name Version
aws >= 4.12.0
random n/a

Modules

Name Source Version
dummy_role ./modules/role n/a
test-group ./modules/group n/a
test-group2 ./modules/group n/a
test-policy ./modules/policy n/a
test-policy2 ./modules/policy n/a
test-role2 ./modules/role n/a
test-user ./modules/user n/a
test-user2 ./modules/user n/a

Resources

Name Type
random_string.test_run_id resource
aws_iam_policy.test_policy2_arn data source
aws_iam_policy_document.allow_assume_dummy_role data source
aws_iam_policy_document.assume_role_dummy data source
aws_iam_policy_document.example data source
aws_iam_policy_document.example2 data source

Inputs

Name Description Type Default Required
aws_region AWS Region any null no

Outputs

Name Description
test_run_id ID of this test run. Generated for every test run.