-
Notifications
You must be signed in to change notification settings - Fork 4.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
SDKv12: Migrating over to the new Compute SDK #744
Conversation
91c5a23
to
5bd0de7
Compare
6eacbbf
to
9419979
Compare
dee0f8e
to
4561f43
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
if r.Match(([]byte)(*ri.Name)) { | ||
list = append(list, ri) | ||
|
||
for resp.NotDone() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you know if the resp
object will abort if the cancel on the StopContext
is invoked? If not, we may want a select
in here on the StopContext.Done
, but not a big deal, I don't think it should hold up this pr as its an edge case to have enough images where it would be an issue I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not from what I can see, whilst it's a valid concern it's such an edge case (and minor issue in terms of iterations) I think we can safely ignore it for the moment
``` $ acctests azurerm TestAccAzureRMImage_customImageVMFromVHD === RUN TestAccAzureRMImage_customImageVMFromVHD --- PASS: TestAccAzureRMImage_customImageVMFromVHD (860.22s) PASS ok github.com/terraform-providers/terraform-provider-azurerm/azurerm 860.253s ```
eb8c8d3
to
39a3172
Compare
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 👉 hashibot-feedback@hashicorp.com. Thanks! |
Note the
source_uri
field is no longer being returned from the API for Snapshots - so I've intentionally unset both it and the SourceResourceID field. I've also made this ForceNew due to this.Tests: