Skip to content

China principal DNS suffix .cn missing #3389

@GillesZhao

Description

@GillesZhao

Description

After terraform plan, it shows node group role's principal is set to "ec2.amazonaws.com", but for China region ,the DNS should be "ec2.amazonaws.com.cn".

ref. 6b40bdb#diff-4402c3de90b812296b76c12945524bfde8723038f31d2db203eb2b9294f72df8R412

⚠️ Note

Before you submit an issue, please perform the following first:

  1. Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
  2. Re-initialize the project root to pull down modules: terraform init
  3. Re-attempt your terraform plan or apply and check if the issue still persists

Versions

  • Module version [Required]: 20.36.0

  • Terraform version: 2.12.2

  • Provider version(s):

Reproduction Code [Required]

Steps to reproduce the behavior:

terraform init use terraform eks module 20.36.0 to create AWS EKS

terraform plan, it will show node group role's principal is set to "ec2.amazonaws.com", but for China region ,the DNS should be "ec2.amazonaws.com.cn"

Expected behavior

Actual behavior

Terminal Output Screenshot(s)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions