Skip to content

Commit

Permalink
Create new VM
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopen committed Oct 8, 2023
1 parent ae4af93 commit 2eab8d0
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 34 deletions.
67 changes: 34 additions & 33 deletions handson/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion handson/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ terraform {
}
aws = {
source = "hashicorp/aws"
version = "~> 3.0"
version = "~> 5.0"
}
}
}
Expand Down Expand Up @@ -151,3 +151,12 @@ resource "sakuracloud_switch" "switcher" {
description = "switcher"
tags = ["handson", "production"]
}

module "vm1" {
source = "app.terraform.io/cloudnativedaysjp/handson/sacloud"
version = "0.0.5"
machine_id = "handson-2"
vm_password = "A!waysbek1nd"
additional_github_accounts = ["jacopen"]
sakuracloud_zone = "is1b"
}

0 comments on commit 2eab8d0

Please sign in to comment.