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

Support pause/unpause/disable/enable resources #65

Open
alexluong opened this issue May 15, 2024 · 0 comments
Open

Support pause/unpause/disable/enable resources #65

alexluong opened this issue May 15, 2024 · 0 comments

Comments

@alexluong
Copy link
Collaborator

Consider supporting pause/unpause and disable/enable resources (sources, destinations, connections).

Use case: when developers want to deploy new resources but are not ready for them to be active yet (Slack reference).

There are 2 main issues with this feature.

The first issue is how to implement this on a technical level. Hookdeck resources cannot toggle these settings (pause status, enabled status) via normal POST / PUT requests from CRUD endpoints. Instead, there are dedicated endpoints for this purpose. This is a bit "anti-Terraform" as Terraform is dedicated to handling CRUD operations. To support this behavior, we may need to customize the Terraform flow further to make extra API calls to accomplish this. That would also complicate things a bit as it will be difficult to accomplish atomicity within the flow.

The second issue is related to UX (or DX). These toggles are mostly handled on the dashboard by developers manually setting things up and making changes. If not handled carefully, developers may update states that are best handled by Terraform and lead to unexpected and/or undesired behavior.

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