Skip to content

Commit 78db609

Browse files
author
Kinnaird McQuade
committed
Minimize is set to true by default for the Terraform module
1 parent 51060c7 commit 78db609

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

terraform_module/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ No provider.
8787
| description | The description to include for the IAM policy. | `string` | `"Generated by Policy Sentry"` | no |
8888
| exclude\_actions | Exclude actions from the output by specifying them here. Accepts wildcards, like kms:Delete\* | `list(string)` | `[]` | no |
8989
| list\_access\_level | Provide a list of Amazon Resource Names (ARNs) that your role needs LIST access to. | `list(string)` | `[]` | no |
90-
| minimize | If set to true, it will minimize the size of the IAM Policy file. Defaults to false. | `bool` | `false` | no |
90+
| minimize | If set to true, it will minimize the size of the IAM Policy file. Defaults to TRUE. | `bool` | `true` | no |
9191
| name | The name of the rendered policy file (no file extension). | `string` | n/a | yes |
9292
| permissions\_management\_access\_level | Provide a list of Amazon Resource Names (ARNs) that your role needs PERMISSIONS MANAGEMENT access to. | `list(string)` | `[]` | no |
9393
| read\_access\_level | Provide a list of Amazon Resource Names (ARNs) that your role needs READ access to. | `list(string)` | `[]` | no |

terraform_module/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ variable "region" {
1414
}
1515

1616
variable "minimize" {
17-
description = "If set to true, it will minimize the size of the IAM Policy file. Defaults to false."
18-
default = false
17+
description = "If set to true, it will minimize the size of the IAM Policy file. Defaults to TRUE."
18+
default = true
1919
type = bool
2020
}
2121

0 commit comments

Comments
 (0)