-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Detect changes to cloud storage object when using source field. #789
Detect changes to cloud storage object when using source field. #789
Conversation
--- PASS: TestAccGoogleStorageObject_content (4.83s)
--- PASS: TestAccGoogleStorageObject_withContentCharacteristics (5.54s)
--- PASS: TestAccGoogleStorageObject_basic (5.62s)
--- PASS: TestAccGoogleStorageObject_storageClass (5.86s)
--- PASS: TestAccGoogleStorageObject_recreate (13.09s)
--- PASS: TestAccGoogleStorageObject_cacheControl (13.86s) |
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.
Looks good. I think this is probably a surprising enough change to merit a note in the changelog, too.
Check: testAccCheckGoogleStorageObject(bucketName, objectName, data_md5), | ||
}, | ||
resource.TestStep{ | ||
PreConfig: func() { | ||
updateName := testFile.Name() + ".update" |
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.
nit: you can move this out of this block so you can use it for line 61
Signed-off-by: Modular Magician <[email protected]>
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 #788
Detect changes to the file when using the
source
field whether the local file content is updated or the file stored on GCP is updated outside of Terraform.cc/ @rodcloutier