Skip to content

data.alicloud_maxcompute_service returns 404 InvalidAction.NotFound #8679

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

Open
jepma opened this issue May 7, 2025 · 0 comments
Open

data.alicloud_maxcompute_service returns 404 InvalidAction.NotFound #8679

jepma opened this issue May 7, 2025 · 0 comments

Comments

@jepma
Copy link

jepma commented May 7, 2025

Hi all,

During our Terraform development we encountered an issue with the maxcompute datasource, for enabling the service. This is what we got:

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: [ERROR] terraform-provider-alicloud/alicloud/data_source_alicloud_maxcompute_service.go:64: Datasource alicloud_maxcompute_service OpenMaxComputeService Failed!!! [SDK alibaba-cloud-sdk-go ERROR]:
│ SDKError:
│    StatusCode: 404
│    Code: InvalidAction.NotFound
│    Message: code: 404, Specified api is not found, please check your url and method. request id: ****
│    Data: {"Code":"InvalidAction.NotFound","HostId":"maxcompute.aliyuncs.com","Message":"Specified api is not found, please check your url and method.","Recommend":"https://api.aliyun.com/troubleshoot?q=InvalidAction.NotFound&product=MaxCompute&requestId=****","RequestId":"*****"}
│
│
│   with data.alicloud_maxcompute_service.open,
│   on maxcompute.tf line 1, in data "alicloud_maxcompute_service" "open":
│    1: data "alicloud_maxcompute_service" "open" {

The plans we were using:

data "alicloud_maxcompute_service" "open" {
  enable = "On"
}

and version info:

$ tf -v
Terraform v1.11.0
on darwin_arm64
+ provider registry.terraform.io/aliyun/alicloud v1.248.0

Is this issue already known; or do I need to change something?

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