Working vpc with two member instances, unique IPs

This commit is contained in:
Mike Holloway committed 2025-01-06 02:06:50 -05:00
1 parent 784819ef34
commit fc5546c86f
3 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ resource "linode_instance" "eqit_instance" {
purpose = "vpc"
subnet_id = var.vpc_subnet_id
ipv4 {
vpc = "10.0.10.2"
vpc = var.vpc_ipv4_addr
}
}
}
+4
View File
@@ -7,6 +7,10 @@ variable "vpc_subnet_id" {
description = "Linode VPC Subnet ID"
}
variable "vpc_ipv4_addr" {
description = "Linode VPC ipv4 address"
}
## Optional Variables
variable "image" {
description = "Image to use for Linode instance"