use the correct policy arns if the region is in CN (#765)

This commit is contained in:
Yecheng Fu
2020-03-09 23:02:53 +08:00
committed by GitHub
parent 276e41f744
commit 8382f2c4e8
5 changed files with 9 additions and 5 deletions

View File

@@ -221,3 +221,5 @@ data "aws_iam_instance_profile" "custom_worker_group_launch_template_iam_instanc
local.workers_group_defaults["iam_instance_profile_name"],
)
}
data "aws_region" "current" {}