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

fixing datasource schema for tanzu kubernetes clusters and adding generic helper #479

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

warroyo
Copy link
Contributor

@warroyo warroyo commented Dec 13, 2024

Summary

This PR fixes an issue where the data source for tanzu kubernetes clusters had fields that were not being marked as computed and could not be used in other parts of the terraform code.

This adds a helper that modifies the schema to be specific to datasources . This helper can be re-used for other datasources. The helper is also implemented in the tanzu_kubernetes_cluster datasources

Type

  • This is a bug fix.
  • This is an enhancement or feature.
  • This is a code style/formatting update.
  • This is a documentation update.
  • This is a refactoring update.
  • This is a chore update
  • This is something else.
    Please describe:

Breaking Changes?

  • Yes, there are breaking changes.
  • No, there are no breaking changes.

Test and Documentation

  • Tests have been completed.
  • Documentation has been added or updated.

no documentation needed since there is no change to the user experience. Tested creating a cluster and getting the data back using the datatsource and ensuring that it could be referenced before the cluster exists

Issue References

Additional Information

@github-actions github-actions bot added chore Chore provider Provider needs-review Needs Review labels Dec 13, 2024
Copy link
Contributor

@tenthirtyam tenthirtyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore needs-review Needs Review provider Provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants