File tree Expand file tree Collapse file tree 21 files changed +272
-25
lines changed
iam-assumable-role-with-oidc
iam-assumable-roles-with-saml
iam-group-with-assumable-roles-policy
iam-assumable-role-with-oidc
iam-assumable-roles-with-saml
iam-group-with-assumable-roles-policy Expand file tree Collapse file tree 21 files changed +272
-25
lines changed Original file line number Diff line number Diff line change 1
- .terraform
2
- terraform.tfstate
3
- * .tfstate *
4
- terraform.tfvars
1
+ # Local .terraform directories
2
+ ** / .terraform / *
3
+
4
+ # Terraform lockfile
5
5
.terraform.lock.hcl
6
+
7
+ # .tfstate files
8
+ * .tfstate
9
+ * .tfstate. *
10
+
11
+ # Crash log files
12
+ crash.log
13
+
14
+ # Exclude all .tfvars files, which are likely to contain sentitive data, such as
15
+ # password, private keys, and other secrets. These should not be part of version
16
+ # control as they are data points which are potentially sensitive and subject
17
+ # to change depending on the environment.
18
+ * .tfvars
19
+
20
+ # Ignore override files as they are usually used to override resources locally and so
21
+ # are not checked in
22
+ override.tf
23
+ override.tf.json
24
+ * _override.tf
25
+ * _override.tf.json
26
+
27
+ # Ignore CLI configuration files
28
+ .terraformrc
29
+ terraform.rc
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : git://github.com/antonbabenko/pre-commit-terraform
3
- rev : v1.44 .0
3
+ rev : v1.46 .0
4
4
hooks :
5
5
- id : terraform_fmt
6
6
- id : terraform_validate
21
21
- ' --args=--only=terraform_standard_module_structure'
22
22
- ' --args=--only=terraform_workspace_remote'
23
23
- repo : git://github.com/pre-commit/pre-commit-hooks
24
- rev : v3.3 .0
24
+ rev : v3.4 .0
25
25
hooks :
26
26
- id : check-merge-conflict
Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ Run `terraform destroy` when you don't need these resources.
26
26
27
27
No provider.
28
28
29
+ ## Modules
30
+
31
+ | Name | Source | Version |
32
+ | ------| --------| ---------|
33
+ | iam_account | ../../modules/iam-account | |
34
+
35
+ ## Resources
36
+
37
+ No resources.
38
+
29
39
## Inputs
30
40
31
41
No input.
@@ -36,5 +46,4 @@ No input.
36
46
| ------| -------------|
37
47
| this\_ caller\_ identity\_ account\_ id | The ID of the AWS account |
38
48
| this\_ iam\_ account\_ password\_ policy\_ expire\_ passwords | Indicates whether passwords in the account expire. Returns true if max\_ password\_ age contains a value greater than 0. Returns false if it is 0 or not present. |
39
-
40
49
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ Run `terraform destroy` when you don't need these resources.
26
26
27
27
No provider.
28
28
29
+ ## Modules
30
+
31
+ | Name | Source | Version |
32
+ | ------| --------| ---------|
33
+ | iam_assumable_role_admin | ../../modules/iam-assumable-role-with-oidc | |
34
+
35
+ ## Resources
36
+
37
+ No resources.
38
+
29
39
## Inputs
30
40
31
41
No input.
@@ -37,5 +47,4 @@ No input.
37
47
| this\_ iam\_ role\_ arn | ARN of IAM role |
38
48
| this\_ iam\_ role\_ name | Name of IAM role |
39
49
| this\_ iam\_ role\_ path | Path of IAM role |
40
-
41
50
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -28,6 +28,18 @@ Run `terraform destroy` when you don't need these resources.
28
28
29
29
No provider.
30
30
31
+ ## Modules
32
+
33
+ | Name | Source | Version |
34
+ | ------| --------| ---------|
35
+ | iam_assumable_role_admin | ../../modules/iam-assumable-role | |
36
+ | iam_assumable_role_custom | ../../modules/iam-assumable-role | |
37
+ | iam_policy | ../../modules/iam-policy | |
38
+
39
+ ## Resources
40
+
41
+ No resources.
42
+
31
43
## Inputs
32
44
33
45
No input.
@@ -40,5 +52,4 @@ No input.
40
52
| this\_ iam\_ role\_ arn | ARN of IAM role |
41
53
| this\_ iam\_ role\_ name | Name of IAM role |
42
54
| this\_ iam\_ role\_ path | Path of IAM role |
43
-
44
55
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -28,6 +28,20 @@ Run `terraform destroy` when you don't need these resources.
28
28
| ------| ---------|
29
29
| aws | >= 2.23 |
30
30
31
+ ## Modules
32
+
33
+ | Name | Source | Version |
34
+ | ------| --------| ---------|
35
+ | iam_assumable_roles_with_saml | ../../modules/iam-assumable-roles-with-saml | |
36
+ | iam_assumable_roles_with_saml_custom | ../../modules/iam-assumable-roles-with-saml | |
37
+ | iam_assumable_roles_with_saml_second_provider | ../../modules/iam-assumable-roles-with-saml | |
38
+
39
+ ## Resources
40
+
41
+ | Name |
42
+ | ------|
43
+ | [ aws_iam_saml_provider] ( https://registry.terraform.io/providers/hashicorp/aws/2.23/docs/resources/iam_saml_provider ) |
44
+
31
45
## Inputs
32
46
33
47
No input.
@@ -45,5 +59,4 @@ No input.
45
59
| readonly\_ iam\_ role\_ arn | ARN of readonly IAM role |
46
60
| readonly\_ iam\_ role\_ name | Name of readonly IAM role |
47
61
| readonly\_ iam\_ role\_ path | Path of readonly IAM role |
48
-
49
62
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -26,6 +26,16 @@ Run `terraform destroy` when you don't need these resources.
26
26
27
27
No provider.
28
28
29
+ ## Modules
30
+
31
+ | Name | Source | Version |
32
+ | ------| --------| ---------|
33
+ | iam_assumable_roles | ../../modules/iam-assumable-roles | |
34
+
35
+ ## Resources
36
+
37
+ No resources.
38
+
29
39
## Inputs
30
40
31
41
No input.
@@ -46,5 +56,4 @@ No input.
46
56
| readonly\_ iam\_ role\_ name | Name of readonly IAM role |
47
57
| readonly\_ iam\_ role\_ path | Path of readonly IAM role |
48
58
| readonly\_ iam\_ role\_ requires\_ mfa | Whether readonly IAM role requires MFA |
49
-
50
59
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -28,6 +28,19 @@ Run `terraform destroy` when you don't need these resources.
28
28
29
29
No provider.
30
30
31
+ ## Modules
32
+
33
+ | Name | Source | Version |
34
+ | ------| --------| ---------|
35
+ | iam_group_complete | ../../modules/iam-group-with-assumable-roles-policy | |
36
+ | iam_group_complete_with_custom_policy | ../../modules/iam-group-with-policies | |
37
+ | iam_user1 | ../../modules/iam-user | |
38
+ | iam_user2 | ../../modules/iam-user | |
39
+
40
+ ## Resources
41
+
42
+ No resources.
43
+
31
44
## Inputs
32
45
33
46
No input.
@@ -39,5 +52,4 @@ No input.
39
52
| this\_ assumable\_ roles | List of ARNs of IAM roles which members of IAM group can assume |
40
53
| this\_ group\_ users | List of IAM users in IAM group |
41
54
| this\_ policy\_ arn | Assume role policy ARN for IAM group |
42
-
43
55
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -29,6 +29,24 @@ Run `terraform destroy` when you don't need these resources.
29
29
| aws | >= 2.23 |
30
30
| aws.production | >= 2.23 |
31
31
32
+ ## Modules
33
+
34
+ | Name | Source | Version |
35
+ | ------| --------| ---------|
36
+ | iam_assumable_role_custom | ../../modules/iam-assumable-role | |
37
+ | iam_assumable_roles_in_prod | ../../modules/iam-assumable-roles | |
38
+ | iam_group_with_assumable_roles_policy_production_admin | ../../modules/iam-group-with-assumable-roles-policy | |
39
+ | iam_group_with_assumable_roles_policy_production_custom | ../../modules/iam-group-with-assumable-roles-policy | |
40
+ | iam_group_with_assumable_roles_policy_production_readonly | ../../modules/iam-group-with-assumable-roles-policy | |
41
+ | iam_user1 | ../../modules/iam-user | |
42
+ | iam_user2 | ../../modules/iam-user | |
43
+
44
+ ## Resources
45
+
46
+ | Name |
47
+ | ------|
48
+ | [ aws_caller_identity] ( https://registry.terraform.io/providers/hashicorp/aws/2.23/docs/data-sources/caller_identity ) |
49
+
32
50
## Inputs
33
51
34
52
No input.
@@ -42,5 +60,4 @@ No input.
42
60
| this\_ assumable\_ roles | List of ARNs of IAM roles which members of IAM group can assume |
43
61
| this\_ group\_ users | List of IAM users in IAM group |
44
62
| this\_ policy\_ arn | Assume role policy ARN for IAM group |
45
-
46
63
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Original file line number Diff line number Diff line change @@ -28,6 +28,21 @@ Run `terraform destroy` when you don't need these resources.
28
28
| ------| ---------|
29
29
| aws | >= 2.23 |
30
30
31
+ ## Modules
32
+
33
+ | Name | Source | Version |
34
+ | ------| --------| ---------|
35
+ | iam_group_superadmins | ../../modules/iam-group-with-policies | |
36
+ | iam_group_with_custom_policies | ../../modules/iam-group-with-policies | |
37
+ | iam_user1 | ../../modules/iam-user | |
38
+ | iam_user2 | ../../modules/iam-user | |
39
+
40
+ ## Resources
41
+
42
+ | Name |
43
+ | ------|
44
+ | [ aws_iam_policy_document] ( https://registry.terraform.io/providers/hashicorp/aws/2.23/docs/data-sources/iam_policy_document ) |
45
+
31
46
## Inputs
32
47
33
48
No input.
@@ -39,5 +54,4 @@ No input.
39
54
| iam\_ account\_ id | IAM AWS account id |
40
55
| this\_ group\_ name | IAM group name |
41
56
| this\_ group\_ users | List of IAM users in IAM group |
42
-
43
57
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
You can’t perform that action at this time.
0 commit comments