Skip to content

Commit

Permalink
fix: name of resources (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
jortfal authored Mar 18, 2021
1 parent 0f2f99e commit 259b17b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main_linux_custom.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

# Linux Virtual Machine
resource "azurerm_virtual_machine" "this" {
resource "azurerm_virtual_machine" "this-custom" {
count = var.os_type == "linux-custom-image" ? 1 : 0

name = var.name
Expand Down
2 changes: 1 addition & 1 deletion main_windows_custom.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ limitations under the License.
*/

# Windows Virtual Machine
resource "azurerm_virtual_machine" "this-w" {
resource "azurerm_virtual_machine" "this-w-custom" {
count = var.os_type == "windows-custom-image" ? 1 : 0

name = var.name
Expand Down

0 comments on commit 259b17b

Please # to comment.