The module provisions:
- IAM policies allowing for AWS keys management, permiting password change and MFA enforcing
module "iam-policies" {
source = "./modules/iam-policies"
strict_mfa_enabled = true
}
Available targets:
help Help screen
help/all Display help for all targets
help/short This help short screen
lint Lint Terraform code
Name | Version |
---|---|
terraform | >= 0.13 |
aws | ~> 3.0 |
Name | Version |
---|---|
aws | ~> 3.0 |
No modules.
Name | Type |
---|---|
aws_iam_policy.strict-mfa | resource |
aws_caller_identity.current | data source |
aws_iam_policy_document.strict-mfa | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
path | Path in which to create the policy. See IAM Identifiers for more information. | string |
"/policies/" |
no |
strict_mfa_enabled | Whether to create Strict MFA policy | bool |
true |
no |
strict_mfa_name | Name prefix of Strict MFA Policy | string |
"StrictMFA" |
no |
Name | Description |
---|---|
strict_mfa_arn | The ARN assigned by AWS to this policy. |
strict_mfa_id | The policy's ID. |
strict_mfa_name | The name of the policy. |
-
Make changes in terraform files
-
Regenerate documentation
bash <(git archive [email protected]:miquido/terraform/terraform-readme-update.git master update.sh | tar -xO)
-
Run lint
make lint
Copyright © 2017-2022 Miquido
Konrad Obal |
---|