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

Data Sources #60

Closed
Tracked by #57
migara opened this issue Apr 12, 2024 · 1 comment
Closed
Tracked by #57

Data Sources #60

migara opened this issue Apr 12, 2024 · 1 comment
Assignees

Comments

@migara
Copy link
Member

migara commented Apr 12, 2024

Function to generate standard Terraform data sources based on the normalized spec

  1. Singleton data sources - retrieve a single object by id/name (e.g. address object by name)
  2. Group data sources - retrieve a list of items (e.g. all address objects)

input:

  • normalized spec
  • file struct pointer

functionality:

  • render the Terraform data source functions
  • store the rendered content in the file struct pointer

return:

  • err
@kklimonda-cl
Copy link
Contributor

As part of #106

  • DataSource structures are being generated
  • Code for copying between SDK and Terraform has been implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants