Closed Wyifei closed 1 year ago
Looking forward version update
=.=
Hi @Wyifei
We've just released the new version of this module (v1.2.0)
You can use aws_partition
variable now, as you can see in https://github.com/lablabs/terraform-aws-eks-external-dns/pull/35#issuecomment-1611780101
Summary
The iam policy can't be created in AWS China, because AWS china the arn format is: arn:awscn
Issue Type
Bug Report
Terraform Version
Steps to Reproduce
module "external_dns" { count = var.environment == "dev" ? 1 : 0 source = "lablabs/eks-external-dns/aws" version = "1.1.0"
cluster_identity_oidc_issuer = data.aws_iam_openid_connect_provider.meid_eks_oidc.url cluster_identity_oidc_issuer_arn = data.aws_iam_openid_connect_provider.meid_eks_oidc.arn
irsa_role_name_prefix = "irsa-external-dns-${var.projectname}-${var.environment}-${var.region}" irsa_tags = { Name = "external-dns-${var.projectname}-${var.environment}-${var.region}" Region = var.region Environment = var.environment Managedby = "Terraform" }
helm_chart_version = "6.8.1"
values = yamlencode({ policy = "sync" triggerLoopOnEvent = true txtPrefix = "z-external-dns-" global = { imageRegistry = "${var.accountid}.dkr.ecr.${var.region}.${var.awsdomain}" } }) }
Expected Results
The iam policy cloud be created successfully
Actual Results