Working vpc with two member instances, unique IPs
This commit is contained in:
1 parent
784819ef34
commit
fc5546c86f
3 files changed
+7
-1
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user