Files
threshold/enos/modules/worker/outputs.tf
T
Michael AnthonyandJosh Brand 073f8fe98e [QT-405] Create solo worker module (#3148)
* Create solo worker module

---------

Co-authored-by: Josh Brand <jbrand@hashicorp.com>
2023-04-12 14:21:23 -06:00

23 lines
565 B
Terraform

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
output "worker_ip" {
description = "The public IP of the Boundary worker"
value = aws_instance.worker.public_ip
}
output "worker_tags" {
description = "The tags used in the worker's configuration"
value = var.worker_type_tags
}
output "subnet_ids" {
description = "The ID of the subnet this worker resides in"
value = [aws_subnet.default.id]
}
output "pet_id" {
description = "The ID of the random_pet used in this module"
value = random_pet.worker.id
}