Skip to content
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

Allow setting boot and attached disk sources by name or self link #605

Merged
merged 7 commits into from Oct 23, 2017

Conversation

danawillow
Copy link
Contributor

Branched off of #600 to make my life a bit easier, so review that one first :)

Fixes #460.
Fixes #514.

$ make testacc TEST=./google TESTARGS='-run=TestAccComputeInstance_attachedDisk -parallel 8'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./google -v -run=TestAccComputeInstance_attachedDisk -parallel 8 -timeout 120m
=== RUN   TestAccComputeInstance_attachedDisk
=== RUN   TestAccComputeInstance_attachedDisk_sourceUrl
--- PASS: TestAccComputeInstance_attachedDisk_sourceUrl (71.96s)
--- PASS: TestAccComputeInstance_attachedDisk (81.82s)
PASS
ok  	github.com/terraform-providers/terraform-provider-google/google	82.055s

@danawillow
Copy link
Contributor Author

Fixed a quick bug that I found when looking this over, I'm going to go ahead and assume the fix is ok and merge this :)

@danawillow danawillow merged commit c577ad6 into hashicorp:master Oct 23, 2017
@danawillow danawillow deleted the is-514 branch October 23, 2017 20:27
chrisst pushed a commit to chrisst/terraform-provider-google that referenced this pull request Nov 9, 2018
…shicorp#605)

* disk cleanup

* fix attached disk test

* allow disk sources from name or url

* parse disk source better on read

* update docs

* fix boot disk source url
luis-silva pushed a commit to luis-silva/terraform-provider-google that referenced this pull request May 21, 2019
```bash
GO111MODULE=on go get github.com/hashicorp/terraform@pluginsdk-v0.12-early7
GO111MODULE=on go mod vendor
GO111MODULE=on go mod tidy
```
@ghost
Copy link

ghost commented Mar 30, 2020

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!

@hashicorp hashicorp locked and limited conversation to collaborators Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants