-
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
Initial addition of generated Image to Terraform. #2769
Initial addition of generated Image to Terraform. #2769
Conversation
5e5c832
to
2207c9b
Compare
google/resource_compute_image.go
Outdated
}, | ||
"sha1": { | ||
Type: schema.TypeString, | ||
Optional: true, | ||
ForceNew: true, | ||
}, | ||
"container_type": { | ||
"source": { | ||
Type: schema.TypeString, | ||
Optional: true, |
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.
I think this should stay as required
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.
Done, I think!
func testAccComputeImage_imageBasicExample(val string) string { | ||
return fmt.Sprintf(` | ||
resource "google_compute_image" "example" { | ||
name = "" |
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.
This should probably be a value
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.
Done.
name = "" | ||
|
||
raw_disk { | ||
source = "https://storage.googleapis.com/my-bucket/my-disk-image-tarball.tar.gz" |
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.
Does this test pass? I assume this bucket is fake
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.
Ah right, I forgot about the examples creating tests. Grabbed the tgz from the existing tests, working its way through now.
* `labels` - (Optional) A set of key/value label pairs to assign to the image. | ||
* `labels` - | ||
(Optional) | ||
Labels to apply to this Snapshot. |
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.
s/Snapshot/image
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.
Done.
2207c9b
to
dc7b6ab
Compare
dc7b6ab
to
8d62f27
Compare
8d62f27
to
8122e1d
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! |
/cc @ndmckinley