fix: Add support for overriding DNS suffix for cluster IAM role service principal endpoint (#1905)

This commit is contained in:
Bryant Biggs
2022-03-02 12:26:20 -05:00
committed by GitHub
parent 9a99689cc1
commit 9af0c2495a
4 changed files with 19 additions and 2 deletions

View File

@@ -305,6 +305,14 @@ variable "iam_role_additional_policies" {
default = []
}
# TODO - hopefully this can be removed once the AWS endpoint is named properly in China
# https://github.com/terraform-aws-modules/terraform-aws-eks/issues/1904
variable "cluster_iam_role_dns_suffix" {
description = "Base DNS domain name for the current partition (e.g., amazonaws.com in AWS Commercial, amazonaws.com.cn in AWS China)"
type = string
default = null
}
variable "iam_role_tags" {
description = "A map of additional tags to add to the IAM role created"
type = map(string)