1
0
Fork 0
terraform-training/04_modules/base.tf

9 lines
192 B
HCL

module "my_module" {
source = "../module1"
instance_name = "cedric-instance1"
}
output "ip" {
description = "public IP of the instance"
value = module.my_module.instance1_public_ip
}