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

Add data resources for all resources #45

Open
2 tasks
scottford-io opened this issue Feb 20, 2024 · 3 comments
Open
2 tasks

Add data resources for all resources #45

scottford-io opened this issue Feb 20, 2024 · 3 comments

Comments

@scottford-io
Copy link

Is your feature request related to a problem? Please describe.
We need data resources to use resources provisioned by the Mondoo Terraform Provider. Data resources allow us to reference dynamically generated resources/configurations.

Describe the solution you'd like

  • Service Account (json) - This needs to be marked as sensitive
  • Space ID

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@chris-rock
Copy link
Member

@scottford-io Can you provide an example where you need this? You can get the data from the generated resources without data resource. So I'd like to understand the use case better.

@ehaselwanter
Copy link

I guess this is already answered? If not read data sources as a least privilege access to the information behind the provider encapsulated information aka read access. One example is that you create the tf resources in one workspace but want to access the information in another workspace with different RBAC .... and it does not need to be tied to a/the resource abstraction

@chris-rock
Copy link
Member

@ehaselwanter I agree that we need data resources. I tried to find out, which data resources we actually need and which one are helpful for users.

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

3 participants