Skip to content

Commit

Permalink
Diff suppress unconventional public image family naming pattern (hash…
Browse files Browse the repository at this point in the history
…icorp#1024)

* DiffSuppress for all public images family names

* Update documentation

* TF_ACC guard

* diskImageEquals should use ==
  • Loading branch information
rosbo authored Jan 31, 2018
1 parent 71a7202 commit 58668c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
10 changes: 8 additions & 2 deletions docs/r/compute_disk.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,14 @@ The following arguments are supported:
to encrypt this disk.

* `image` - (Optional) The image from which to initialize this disk. This can be
one of: the image's `self_link`, of a full name and version, e.g.
`debian-8-jessie-v20170523`
one of: the image's `self_link`, `projects/{project}/global/images/{image}`,
`projects/{project}/global/images/family/{family}`, `global/images/{image}`,
`global/images/family/{family}`, `family/{family}`, `{project}/{family}`,
`{project}/{image}`, `{family}`, or `{image}`. If referred by family, the
images names must include the family name. If they don't, use the
[google_compute_image data source](/docs/providers/google/d/datasource_compute_image.html).
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
These images can be referred by family name here.

* `project` - (Optional) The project in which the resource belongs. If it
is not provided, the provider project is used.
Expand Down
7 changes: 4 additions & 3 deletions docs/r/compute_instance.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,10 @@ The `initialize_params` block supports:
`projects/{project}/global/images/family/{family}`, `global/images/{image}`,
`global/images/family/{family}`, `family/{family}`, `{project}/{family}`,
`{project}/{image}`, `{family}`, or `{image}`. If referred by family, the
images names must include the family name. For instance, the image
`centos-6-v20180104` includes its family name `centos-6`. These images can
be referred by family name here.
images names must include the family name. If they don't, use the
[google_compute_image data source](/docs/providers/google/d/datasource_compute_image.html).
For instance, the image `centos-6-v20180104` includes its family name `centos-6`.
These images can be referred by family name here.

The `scratch_disk` block supports:

Expand Down

0 comments on commit 58668c1

Please sign in to comment.