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:
- Remove the local
.terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
- Re-initialize the project root to pull down modules:
terraform init
- Re-attempt your terraform plan or apply and check if the issue still persists
Versions
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
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
Before you submit an issue, please perform the following first:
.terraformdirectory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/terraform initVersions
Module version [Required]: 20.36.0
Terraform version: 2.12.2
Reproduction Code [Required]
Steps to reproduce the behavior:
terraform init use terraform eks module 20.36.0 to create AWS EKSterraform 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