我在部署最近从 godaddy 转移到 AWS 的域时遇到了问题。
这是 zappa 设置:
{
"staging": {
"app_function": "__init__.app",
"aws_region": "ap-southeast-2",
"profile_name": "default",
"s3_bucket": "zappa-flowersapp",
"domain": "minnidesign.com",
"certificate_arn": "arn:aws:acm:us-east-1:985294012425:certificate/a8740ef0-0d99-4355-ac99-210ead89b743"
}
}
在运行 zappa certify 时,我第一次收到此错误:
params[name] = orig_value.split('/')[-1]
AttributeError: 'NoneType' object has no attribute 'split'
我第二次收到此错误:
raise error_class(parsed_response, operation_name)
BadRequestException: An error occurred (BadRequestException) when calling the CreateDomainName operation: The domain name you provided already exists.
我不知道为什么会这样,我从来没有遇到过 Zappa 的这种问题。(当我访问 minnidesign.com 时出现服务器未找到错误)。
有谁知道这个问题的解决方案?提前谢谢了!