Difference between revisions of "Output.tf"

From wikieduonline
Jump to navigation Jump to search
Line 23: Line 23:
 
* [[Terraform best practices]]
 
* [[Terraform best practices]]
 
* [[Terraform: output]]
 
* [[Terraform: output]]
 +
* [[Terraform best practices]]: Don't pass outputs directly through input variables,
  
 
== See also ==
 
== See also ==

Revision as of 14:55, 22 January 2023


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: