Closed Iwillsky closed 4 years ago
Hi @Iwillsky thanks for pointing this out. It's definitely a bug.
Hi @Iwillsky, EFS support for China is targeted for next release.
Thanks. It will be convenient to China customers. We ❤️ aws.
Hi @lukeseawalker , We also found similar hard-coded url in fsx_mount.rb. It would be better if resolved together in the next release.
Hi @Iwillsky, it has been taken care by this PR https://github.com/aws/aws-parallelcluster-cookbook/pull/640 Thanks
AWS ParallelCluster 2.8.0 with EFS support in China has been released https://github.com/aws/aws-parallelcluster/releases/tag/v2.8.0
Environment:
Additional context:
sudo sed -i "s/amazonaws.com/amazonaws.com.cn/g" /etc/chef/cookbooks/aws-parallelcluster/recipes/efs_mount.rb
Although we can point to a pre_install.sh including above code, we really hope this bug can be fixed to be adaptive to China region without region-sensitive.
Similar code is here FYR: s3_domain = "https://s3.#{node['cfncluster']['cfn_region']}.amazonaws.com" s3_domain = "#{s3_domain}.cn" if node['cfncluster']['cfn_region'].start_with?("cn-")