Skip to content

Remove duplicate / unnecessary setting of fields in post_create code #22214

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

Open
20 of 55 tasks
melinath opened this issue Apr 2, 2025 · 0 comments
Open
20 of 55 tasks

Remove duplicate / unnecessary setting of fields in post_create code #22214

melinath opened this issue Apr 2, 2025 · 0 comments
Assignees
Labels
mmv1-generator Provider-wide changes to resource templates or other generator changes size/xl technical-debt
Milestone

Comments

@melinath
Copy link
Collaborator

melinath commented Apr 2, 2025

What kind of contribution is this issue about?

Other (specify in details)

Details

GoogleCloudPlatform/magic-modules#12939 fixed an issue with resource generation where resources had to set fields in post_create custom code if they were needed for the follow-up Read request. This ticket covers follow-on work to evaluate usage of d.Set in post_create code and remove now-redundant usage.

We should also remove all usage of set_computed_name.tmpl if possible. This is used in a bunch of places:

Other:

  • Remove identity fields setting?

References

No response

@melinath melinath self-assigned this Apr 2, 2025
melinath added a commit to melinath/magic-modules that referenced this issue Apr 2, 2025
@rileykarson rileykarson added the mmv1-generator Provider-wide changes to resource templates or other generator changes label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mmv1-generator Provider-wide changes to resource templates or other generator changes size/xl technical-debt
Projects
None yet
Development

No branches or pull requests

2 participants