File tree Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Expand file tree Collapse file tree 4 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
66project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
77
88## [ Unreleased]
9+
10+ ### Added
11+
12+ - ` access_config ` variable on the ` umig ` submodule. [ #57 ]
13+
14+
915## [ 1.3.0] - 2019-12-09
1016
1117### Added
@@ -16,7 +22,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
1622
1723### Added
1824
19- - Support for public IPs. Added ` access_config ` variable . [ #43 ]
25+ - ` access_config ` variable on the ` instance_template ` and ` preemptible_and_regular_instance_templates ` submodules . [ #43 ]
2026
2127### Fixed
2228
@@ -77,3 +83,4 @@ project adheres to [Semantic Versioning](http://semver.org/).
7783[ #42 ] : https://github.com/terraform-google-modules/terraform-google-vm/pull/42
7884[ #43 ] : https://github.com/terraform-google-modules/terraform-google-vm/pull/43
7985[ #44 ] : https://github.com/terraform-google-modules/terraform-google-vm/pull/44
86+ [ #44 ] : https://github.com/terraform-google-modules/terraform-google-vm/pull/57
Original file line number Diff line number Diff line change 11/* *
2- * Copyright 2018 Google LLC
2+ * Copyright 2019 Google LLC
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
Original file line number Diff line number Diff line change 11/* *
2- * Copyright 2018 Google LLC
2+ * Copyright 2019 Google LLC
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -51,13 +51,13 @@ resource "google_compute_instance_from_template" "compute_instance" {
5151 subnetwork = var. subnetwork
5252 subnetwork_project = var. subnetwork_project
5353 network_ip = length (var. static_ips ) == 0 ? " " : element (local. static_ips , count. index )
54- }
5554
56- dynamic "access_config" {
57- for_each = var. access_config
58- content {
59- nat_ip = access_config. value . nat_ip
60- network_tier = access_config. value . network_tier
55+ dynamic "access_config" {
56+ for_each = var. access_config
57+ content {
58+ nat_ip = access_config. value . nat_ip
59+ network_tier = access_config. value . network_tier
60+ }
6161 }
6262 }
6363
Original file line number Diff line number Diff line change 11/* *
2- * Copyright 2018 Google LLC
2+ * Copyright 2019 Google LLC
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
@@ -66,9 +66,9 @@ variable "instance_template" {
6666
6767variable "access_config" {
6868 description = " Access configurations, i.e. IPs via which the VM instance can be accessed via the Internet."
69- type = list (object ({
69+ type = list (object ({
7070 nat_ip = string
7171 network_tier = string
7272 }))
73- default = []
73+ default = []
7474}
You can’t perform that action at this time.
0 commit comments