Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is discount coupon supported by alicloud terraform provider? #6658

Closed
ik8svip opened this issue Nov 15, 2023 · 1 comment
Closed

Is discount coupon supported by alicloud terraform provider? #6658

ik8svip opened this issue Nov 15, 2023 · 1 comment

Comments

@ik8svip
Copy link

ik8svip commented Nov 15, 2023

We are working on migrating applications to a new alicloud account with discount coupons, but got some errors, is discount coupon supported by alicloud terraform provider?

Terraform Version

$ terraform version
Terraform v1.5.7
on linux_amd64
+ provider registry.terraform.io/aliyun/alicloud v1.212.0
+ provider registry.terraform.io/hashicorp/local v2.4.0

Affected Resource(s)

  • alicloud_cs_kubernetes
  • alicloud_ecs_instance_set

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

It's a huge module with lots of files, and it's little bit hard to share all the files here. I can make demonstration online if needed.

Debug Output

Panic Output

╷
│ Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_cs_kubernetes.go:854: Resource id:ca8565e596bbb4926845bcd5fe55cca7d :
│ [ERROR] terraform-provider-alicloud/alicloud/service_alicloud_cs.go:747:
│ Failed to reach target status. Last status: failed.


│ Error: [ERROR] terraform-provider-alicloud/alicloud/resource_alicloud_ecs_instance_set.go:620: Resource resource_alicloud_ecs_instance_set RunInstances Failed!!! [SDK alibaba-cloud-sdk-go ERROR]:
│ SDKError:
│    StatusCode: 400
│    Code: InsufficientBalance.AgentCredit
│    Message: code: 400, Insufficient agent credit. Please contact your agent. request id: 422A4565-07E9-3422-94B6-DFDF8D77F02B
│    Data: {"Code":"InsufficientBalance.AgentCredit","HostId":"ecs-unit-share.us-west-1.aliyuncs.com","Message":"Insufficient agent credit. Please contact your agent.","Recommend":"https://api.aliyun.com/troubleshoot?q=InsufficientBalance.AgentCredit\u0026product=Ecs\u0026requestId=422A4565-07E9-3422-94B6-DFDF8D77F02B","RequestId":"422A4565-07E9-3422-94B6-DFDF8D77F02B"}
@ik8svip ik8svip changed the title Does discount coupon supported by alicloud terraform provider? Is discount coupon supported by alicloud terraform provider? Nov 15, 2023
@ik8svip
Copy link
Author

ik8svip commented Nov 18, 2023

there are some misconfigration by the agent , close this issue

@ik8svip ik8svip closed this as completed Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant