Working tofu plan
This commit is contained in:
1 parent
bb8b6dd978
commit
f81ad1c887
5 files changed
+52
-44
No files matched your search
@@ -1,31 +1,29 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
linode = {
|
||||
source = "linode/linode"
|
||||
# version = "..."
|
||||
linode = {
|
||||
source = "linode/linode"
|
||||
# version = "..."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Configure the Linode Provider
|
||||
provider "linode" {
|
||||
token = var.token
|
||||
token = var.token
|
||||
}
|
||||
|
||||
module "vps1" {
|
||||
source = "./modules/instance"
|
||||
label = "vps1"
|
||||
root_pass = var.root_pass
|
||||
module "main_vpc_subnet" {
|
||||
source = "./modules/vpc-subnet"
|
||||
}
|
||||
|
||||
module "vps2" {
|
||||
module "ci_cd" {
|
||||
source = "./modules/instance"
|
||||
label = "vps2"
|
||||
root_pass = var.root_pass
|
||||
label = "ci-cd"
|
||||
root_pass = var.root_pass
|
||||
}
|
||||
|
||||
module "vps3" {
|
||||
module "observability" {
|
||||
source = "./modules/instance"
|
||||
label = "vps3"
|
||||
root_pass = var.root_pass
|
||||
label = "observability"
|
||||
root_pass = var.root_pass
|
||||
}
|
||||
Reference in new issue
Block a user