-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add support for configuring disk resource policies for google_compute_instance_template. #8237
Add support for configuring disk resource policies for google_compute_instance_template. #8237
Conversation
…_instance_template. Fixes hashicorp#6719
/gcbrun |
can you add this field to the documentation? Possibly an example there-in too? |
@ScottSuarez I'm second guessing the decision to support self links on this field when the underlying API doesn't. Do you think I should keep this behaviour (of converting a link) or make it short names only, it's easy enough for a user to reference the name:
The |
I've (tentatively) documented the field, but will adjust it pending the above question. |
Hi, sorry for the delay on this. I was out of town. I spoke with my team on this and we prefer resources to reference each other by the |
I think |
/gcbrun |
I'll focus on trying to merge this for you today! Sorry for the delay my friend :> |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Fixes #6719
Per documentation (and checked), https://pkg.go.dev/google.golang.org/api/compute/v0.beta#AttachedDiskInitializeParams only the resource policy name is supported for instance templates, a uri can't be used. A link can be used in user code, but it will be converted to the resource name.