Difference between revisions of "Output.tf"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
   value = [[aws_instance]].server.private_ip
 
   value = [[aws_instance]].server.private_ip
 
  }
 
  }
 +
 +
output "region" {
 +
  description = "AWS region"
 +
  value      = [[var.]]region
 +
}
 +
  
 
== Related ==
 
== Related ==

Revision as of 14:46, 15 February 2022


output "my_cluster_version" {
  description = "The Kubernetes server version for the EKS cluster."
  value       = module.eks.cluster_version
}


output "instance_ip_addr" {
  value = aws_instance.server.private_ip
}
output "region" {
  description = "AWS region"
  value       = var.region
}


Related

See also

Advertising: