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

Mapping resource/data source definitions to multiple endpoints #126

Open
1 task done
AgustinBettati opened this issue Jan 16, 2024 · 0 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@AgustinBettati
Copy link

Use Cases or Problem Statement

We have some resource and data source definitions which rely on multiple endpoints to handle all the attribute definitions. An example of this is a project resource https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/resources/project which makes use of several endpoints:

I understand that having a resource rely on multiple API CRUD operations has its tradeoffs, but this form of abstraction can be present in resource and data source implementations.

Proposal

Currently a resource or data source is defined by a single set of CRUD operations (https://developer.hashicorp.com/terraform/plugin/code-generation/openapi-generator#resources). Wanted to know if the possibility of mapping multiple endpoints was contemplated or seen as a possible feature moving forward.

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@AgustinBettati AgustinBettati added the enhancement New feature or request label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant