2 min read
To be able to save data generated using terraform to be able to import the terraform state somewhere else using terraform_remote_state or retrieving it using the CLI we need to use the output directive:
output "alb_dns_name" {
description = "ALB DNS name"
value = aws_alb.jenkins-alb.dns_name
}
16/04/2021
Read more...