I am unable to create the aws_load_balancer_controller policy in AWS GovCloud due to the policy exceeding the PolicySize quota of 6144 bytes. This is likely caused by the policy already being close to the maximum size, and the aws-us-gov partition name pushing it over the limit.
Error: creating IAM Policy (alb-controller-20230619214405868900000001): LimitExceeded: Cannot exceed quota for PolicySize: 6144
│ status code: 409, request id: 4f59220c-e7e7-4eea-88a1-64a6a53a384c
│
│ with module.eks_blueprints_addons.module.aws_load_balancer_controller.aws_iam_policy.this[0],
│ on .terraform/modules/eks_blueprints_addons.aws_load_balancer_controller/main.tf line 237, in resource "aws_iam_policy" "this":
│ 237: resource "aws_iam_policy" "this" {
[x] ✋ I have searched the open/closed issues and my issue is not listed.
Description
I am unable to create the aws_load_balancer_controller policy in AWS GovCloud due to the policy exceeding the PolicySize quota of 6144 bytes. This is likely caused by the policy already being close to the maximum size, and the
aws-us-gov
partition name pushing it over the limit.⚠️ Note
Versions
Module version [Required]: v1.0.0
Terraform version:
Reproduction Code [Required]
Steps to reproduce the behavior:
Enable the AWS Load Balancer Controller in the eks_blueprints_addons module and attempt to deploy to AWS GovCloud.
Expected behavior
The policy should be created with no issues.
Actual behavior