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

DXE-3377 Error: "Domain Delete error" when attempting to destroy akamai_gtm_domain resource #602

Open
hratyan opened this issue Jan 13, 2025 · 4 comments

Comments

@hratyan
Copy link

hratyan commented Jan 13, 2025

Hi there,

I encountered an issue when trying to destroy the akamai_gtm_domain resource in Terraform. The process fails with the following error:

Error: Domain Delete error
API error:
{
"type": "https://problems.luna.akamaiapis.net/config-gtm/v1/httpRequestMethodNotSupported",
"title": "Bad Request",
"detail": "DELETE method is not supported for this resource. Supported methods are: [GET, PUT]",
"instance":
"https://akab-f*****.luna.akamaiapis.net/config-gtm-api/v1/domains/example.com#***",
"errors": null
}

Environment:

  • Terraform version: 1.10.3
  • Akamai provider version: 6.6.1

Please advise on how to resolve this issue or if there is an alternative approach to destroy the domain resource.

@ckulinsk
Copy link
Contributor

Hi @hratyan,

thank you for bringing that up. Currently DELETE method for GTM domain is only supported via UI. For mor information see: https://techdocs.akamai.com/gtm/docs/traffic-mgmt-domains#delete-domains

Best regards,
Cyryl

@hratyan
Copy link
Author

hratyan commented Jan 14, 2025

Thank you for the response.

Would it be possible to have support for this functionality in the future, or is there an alternative approach for it?

@aka-mark aka-mark changed the title Error: "Domain Delete error" when attempting to destroy akamai_gtm_domain resource DXE-3377 Error: "Domain Delete error" when attempting to destroy akamai_gtm_domain resource Jan 16, 2025
@mstojanowski
Copy link

@hratyan

As we have checked, the endpoint for GTM deletion is in the process of creation. We will add support for it when it's ready.
We will keep you updated.

BR,
Marcin Stojanowski

@hratyan
Copy link
Author

hratyan commented Jan 20, 2025

@hratyan

As we have checked, the endpoint for GTM deletion is in the process of creation. We will add support for it when it's ready. We will keep you updated.

BR, Marcin Stojanowski

@mstojanowski

Thank you for your answer!

Could you please provide an estimated timeline for when it will be ready? We are actively developing the Terraform module and would like to ensure we can integrate it as soon as it's available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants