-
Notifications
You must be signed in to change notification settings - Fork 200
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
Adhoc Provider - Custom Resource / Data Source #3270
Comments
Hi, This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Here's a use case for fly.io - while there's a Terraform provider, the readme states:
we want to do create a project via Terraform, right now this is shelling out via
so, if it was possible to do something like:
then this could become
|
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Hi, This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. |
Feature Spec
With Wing Custom Resources, it's now simple to interface with bespoke APIs and extend the Terraform inflight behaviour with custom code snippets.
or for data fetching / manipulation something like this (inspired by this)
Both, resources and data sources, are build ad-hoc as a Terraform provider when comping this with the Wing CLI transparent to to the user.
In a Wing application, this could be used like:
which would render down to a Terraform HCL (JSON) data source, something like (pseudo HCL code)
Use Cases
Implementation Notes
There are two components to make this work at a high level:
Component
Other
Community Notes
The text was updated successfully, but these errors were encountered: