hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.85k stars 9.19k forks source link

[Enhancement]: I want to manage EMR Studio workspaces via the aws_emr_studio resource #38666

Open eggressive opened 3 months ago

eggressive commented 3 months ago

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

github-actions[bot] commented 3 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

eggressive commented 1 month ago

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