Open eggressive opened 3 months ago
Voting for Prioritization
Volunteering to Work on This Issue
As it stands, AWS does not yet provide API for managing workspaces in EMR Studio: https://docs.aws.amazon.com/emr/latest/APIReference/API_Operations.html
Unless the option is available in the API it cannot be added to the AWS terraform provider. The very outdated thread in AWS forums doesn't bring any hope either: Programatically detach EMR clusters from EMR Studio workspaces
Description
Adding an argument (or a separate resource?) to aws_emr_studio resource would be great.
Currently, the provider lacks the necessary functionality to manage AWS EMR Studio workspaces. This is evident in a specific use case where the creation of an EMR EC2 cluster and EMR Studio is successful. However, when a customer creates a workspace and then destroys it, an unresolved dependency issue arises, leading to a failed run. This necessitates the customer manually deleting the Studio workspace, which is inconvenient. I'd like to avoid using “local-exec” in the above case.
Affected Resource(s) and/or Data Source(s)
aws_emr_studio
Potential Terraform Configuration
No response
References
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/emr_studio
Would you like to implement a fix?
None