A module to make creating IAM securely.
- 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
Name | Version |
---|---|
terraform | >= 1.0 |
terraform | ~> 1.0 |
aws | >= 4.12.0 |
Name | Version |
---|---|
aws | >= 4.12.0 |
random | n/a |
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 |
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 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_region | AWS Region | any |
null |
no |
Name | Description |
---|---|
test_run_id | ID of this test run. Generated for every test run. |