-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
return spec field for entities retrieved using backstage_entities data source #101
Comments
Hi, I think the initial reason I haven't added support for
I'm not sure how to implement such dynamic value properly in the provider. Would it be an option for you to use |
Hi, thanks for getting back to me, I thought that would have been the challenge. I had a look at using |
I think having both I did some research — it seems we might be able to support dynamic attributes in the near future, once hashicorp/terraform-plugin-framework#931 is merged and released (part of v1.7.0 of the framework?). This would allow implementing I'm not sure if it's worth implementing some workaround until then. |
Just a small update: Since the v1.7.0 framework is released with included Dynamic attribute support, I played with it a bit, but it faced the following limitation:
Since I will come back to this in the future, but right now I can't think of an easy and proper way to implement this. |
thank for the update! |
(caveat: I know very little about building terraform modules, apologies if this is a foolish suggestion) Would it make sense to just return the |
What makes it tricky, compared to Based on the current documentation, a |
Supporting a subset of the most commonly used fields that are consistently typed might be a worthwhile compromise. For instance, I suppose it's entirely possible that someone might extend the model with a new |
@crivetechie , @brianphillips , Would you mind giving 2.4.0-rc1 a try (based on the example provided in #138) and let me know if it covers your requirements? |
As there was no feedback for a week, I will assume #138 resolves this, as it allows you to access |
We are currently retrieving Components and Resources from Backstage using
backstage_entities
datasource.We would need to have access to the spec field in order to identify the
type
of the component/resource.Is it possible to return the spec field for the entities retrieved with
backstage_entities
datasource ?Thanks for building this awesome provider!
The text was updated successfully, but these errors were encountered: