可是出现了错误: Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_instance.go:851: Resource alicloud_instance RunInstances Failed!!! [SDK alibaba-cloud-sdk-go ERROR]: │ SDKError: │ StatusCode: 400 │ Code: OperationDenied │ Message: code: 400, The specified instanceType or zone is not available or not authorized. request id: 4AB6DACC-A9F9-5861-9196-C513E8BA9BCC │ Data: {"Code":"OperationDenied","HostId":"ecs.cn-beijing.aliyuncs.com","Message":"The specified instanceType or zone is not available or not authorized.","Recommend":"https://api.aliyun.com/troubleshoot?q=OperationDenied\u0026product=Ecs\u0026requestId=4AB6DACC-A9F9-5861-9196-C513E8BA9BCC","RequestId":"4AB6DACC-A9F9-5861-9196-C513E8BA9BCC"}是什么情况?
调用CreateInstance接口,并可以指定ImageId、InstanceType、SecurityGroupId、InternetChargeType等参数,创建一台包年包月或者按量付费ECS实例。参考文档https://help.aliyun.com/zh/ecs/developer-reference/api-ecs-2014-05-26-createinstance?spm=a2c4g.11186623.0.i5#%E6%8E%A5%E5%8F%A3%E8%AF%B4%E6%98%8E
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。