Terraform module to create IAM managed policies, roles, and users
Manual testing:
# Replace "xxx" with an actual AWS profile, then execute the integration tests.
export AWS_PROFILE=xxx
make terraform/pytest PYTEST_ARGS="-v --nomock"
For automated testing, PYTEST_ARGS is optional and no profile is needed:
make mockstack/up
make terraform/pytest PYTEST_ARGS="-v"
make mockstack/clean
Name | Version |
---|---|
terraform | >= 1.2 |
aws | >= 3.35.0 |
No providers.
No resources.
Name | Description | Type | Default | Required |
---|---|---|---|---|
groups | Schema list of IAM groups | list(object({ |
[] |
no |
policies | Schema list of policy objects | list(object({ |
[] |
no |
policy_documents | Schema list of IAM policy documents | any |
[] |
no |
roles | Schema list of IAM roles | list(object({ |
[] |
no |
users | Schema list of IAM users | list(object({ |
[] |
no |
Name | Description |
---|---|
groups | IAM group resources |
policies | IAM managed policy resources |
policy_documents | IAM managed policy resources |
roles | IAM role resources |
users | IAM user resources |