0

目前我正在使用https://docs.aws.amazon.com/general/latest/gr/elb.html作为参考:

if [ $AWS_REGION = "us-west-1" ]; then f AWS_HOSTED_ZONE_ID__ELB "Z368ELLRRE2KJ0"; fi
if [ $AWS_REGION = "us-west-2" ]; then f AWS_HOSTED_ZONE_ID__ELB "Z1H1FL5HABSF5"; fi
if [ $AWS_REGION = "us-east-1" ]; then f AWS_HOSTED_ZONE_ID__ELB "Z35SXDOTRQ7X7K"; fi
if [ $AWS_REGION = "us-east-2" ]; then f AWS_HOSTED_ZONE_ID__ELB "Z3AADJGX6KTTL2"; fi

有一个更好的方法吗?

4

0 回答 0