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

Implement the v6 cai2hcl Convert function #9010

Conversation

modular-magician
Copy link
Collaborator

  1. Copy v5 cai2hcl convert and utils functions to v6 cai2hcl.
  • Move cai2hcl/common/converter.go to tgc_v6/cai2hcl/models/converter.go
  • Move cai2hcl/common/hcl_write.go to tgc_v6/cai2hcl/models/hcl_block.go
  • Move mmv1/third_party/cai2hcl/common/utils.go to tgc_v6/cai2hcl/converters/utils/utils.go
  1. Add single resource convert function ConvertResource

TODO: add resolvers to resolve multiple cai assets to the same asset

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


Derived from GoogleCloudPlatform/magic-modules#12662

[upstream:a0bea20722b6fad436236ad5372720690a088129]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician requested a review from a team as a code owner January 7, 2025 18:45
@modular-magician modular-magician merged commit 30a63c1 into hashicorp:main Jan 7, 2025
4 checks passed
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

Successfully merging this pull request may close these issues.

1 participant