Skip to content

Commit 4a0f2c6

Browse files
committed
feat: Add policy outputs; render wrapper
1 parent 801ce9b commit 4a0f2c6

File tree

12 files changed

+1230
-8
lines changed

12 files changed

+1230
-8
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: v1.88.2
44
hooks:
55
- id: terraform_fmt
6-
- id: terraform_validate
6+
- id: terraform_wrapper_module_for_each
77
- id: terraform_docs
88
args:
99
- '--args=--lockfile=false'
@@ -22,8 +22,11 @@ repos:
2222
- '--args=--only=terraform_required_providers'
2323
- '--args=--only=terraform_standard_module_structure'
2424
- '--args=--only=terraform_workspace_remote'
25+
- '--args=--only=terraform_unused_required_providers'
26+
- id: terraform_validate
2527
- repo: https://github.com/pre-commit/pre-commit-hooks
2628
rev: v4.5.0
2729
hooks:
2830
- id: check-merge-conflict
2931
- id: end-of-file-fixer
32+
- id: trailing-whitespace

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# AWS EKS Pod Identity Terraform module
22

3-
Terraform module which creates AWS EKS Pod Identity roles.
4-
5-
## :warning: Still under development and not recommended for production use :warning:
6-
3+
Terraform module which creates [Amazon EKS Pod Identity roles](https://docs.aws.amazon.com/eks/latest/userguide/pod-identities.html).
74

85
## Usage
96

@@ -559,6 +556,9 @@ No modules.
559556

560557
| Name | Description |
561558
|------|-------------|
559+
| <a name="output_iam_policy_arn"></a> [iam\_policy\_arn](#output\_iam\_policy\_arn) | The ARN assigned by AWS to this policy |
560+
| <a name="output_iam_policy_id"></a> [iam\_policy\_id](#output\_iam\_policy\_id) | The policy's ID |
561+
| <a name="output_iam_policy_name"></a> [iam\_policy\_name](#output\_iam\_policy\_name) | Name of IAM policy |
562562
| <a name="output_iam_role_arn"></a> [iam\_role\_arn](#output\_iam\_role\_arn) | ARN of IAM role |
563563
| <a name="output_iam_role_name"></a> [iam\_role\_name](#output\_iam\_role\_name) | Name of IAM role |
564564
| <a name="output_iam_role_path"></a> [iam\_role\_path](#output\_iam\_role\_path) | Path of IAM role |

examples/complete/README.md

Lines changed: 144 additions & 1 deletion
Large diffs are not rendered by default.

examples/complete/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ provider "aws" {
33
}
44

55
locals {
6-
region = "us-east-1"
6+
region = "eu-west-1"
77
name = "eks-pod-identity-ex-${basename(path.cwd)}"
88

99
tags = {

0 commit comments

Comments
 (0)