Skip to content

Commit

Permalink
Merge branch 'master' into feat/add-resource-manager-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
g-awmalik authored Sep 21, 2023
2 parents 756687c + fab60cd commit 0ad2e09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/instance_template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ See the [simple](../../examples/instance_template/simple) for a usage example.
|------|-------------|
| name | Name of instance template |
| self\_link | Self-link of instance template |
| self\_link\_unique | Unique self-link of instance template (recommended output to use instead of self\_link) |
| tags | Tags that will be associated with instance(s) |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
5 changes: 5 additions & 0 deletions modules/instance_template/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
* limitations under the License.
*/

output "self_link_unique" {
description = "Unique self-link of instance template (recommended output to use instead of self_link)"
value = google_compute_instance_template.tpl.self_link_unique
}

output "self_link" {
description = "Self-link of instance template"
value = google_compute_instance_template.tpl.self_link
Expand Down

0 comments on commit 0ad2e09

Please sign in to comment.