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