From 0d2a4c2af3d7c8593226bbccbf8753950e741b15 Mon Sep 17 00:00:00 2001
From: Zack A <24322023+zack-is-cool@users.noreply.github.com>
Date: Tue, 6 Feb 2024 04:48:19 -0800
Subject: [PATCH] feat: Add output for `access_policy_associations` (#2904)
* add output for access_policy_associations
* wording
---
README.md | 1 +
outputs.tf | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/README.md b/README.md
index 008fe78..7c6c65a 100644
--- a/README.md
+++ b/README.md
@@ -285,6 +285,7 @@ We are grateful to the community for contributing bugfixes and improvements! Ple
| Name | Description |
|------|-------------|
| [access\_entries](#output\_access\_entries) | Map of access entries created and their attributes |
+| [access\_policy\_associations](#output\_access\_policy\_associations) | Map of eks cluster access policy associations created and their attributes |
| [cloudwatch\_log\_group\_arn](#output\_cloudwatch\_log\_group\_arn) | Arn of cloudwatch log group created |
| [cloudwatch\_log\_group\_name](#output\_cloudwatch\_log\_group\_name) | Name of cloudwatch log group created |
| [cluster\_addons](#output\_cluster\_addons) | Map of attribute maps for all EKS cluster addons enabled |
diff --git a/outputs.tf b/outputs.tf
index adba15c..7621ae8 100644
--- a/outputs.tf
+++ b/outputs.tf
@@ -61,6 +61,11 @@ output "access_entries" {
value = aws_eks_access_entry.this
}
+output "access_policy_associations" {
+ description = "Map of eks cluster access policy associations created and their attributes"
+ value = aws_eks_access_policy_association.this
+}
+
################################################################################
# KMS Key
################################################################################