Skip to content

Conversation

@hemantadil
Copy link
Owner

…o be modified, as the converter registration is handled dynamically. The necessary changes have already been made in mmv1/third_party/tgc/resource_converters.go.tmpl.

I have created the comprehensive test case, including both the .tf and .json files in the mmv1/third_party/tgc/tests/data directory.

The tests passed after correcting the ancestry path and removing unnecessary fields from the test's .json file.

Release Note Template for Downstream PRs (will be copied)

See Write release notes for guidance.


…o be modified, as the converter registration is handled dynamically. The necessary changes have already been made in `mmv1/third_party/tgc/resource_converters.go.tmpl`.

I have created the comprehensive test case, including both the `.tf` and `.json` files in the `mmv1/third_party/tgc/tests/data` directory.

The tests passed after correcting the ancestry path and removing unnecessary fields from the test's `.json` file.
Comment on lines 42 to 48
iam_policy:
method_name_separator: ':'
parent_resource_attribute: 'name'
base_url: 'projects/{{project}}/locations/{{location}}/instances/{{name}}'
import_format:
- 'projects/{{project}}/locations/{{location}}/instances/{{name}}'
- '{{name}}'
# iam_policy:
# method_name_separator: ':'
# parent_resource_attribute: 'name'
# base_url: 'projects/{{project}}/locations/{{location}}/instances/{{name}}'
# import_format:
# - 'projects/{{project}}/locations/{{location}}/instances/{{name}}'
# - '{{name}}'
Copy link
Owner Author

Choose a reason for hiding this comment

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

Can you remove the unnecessary diff here

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.

2 participants