Difference between revisions of "Output.tf"

From wikieduonline
Jump to navigation Jump to search
 
Line 24: Line 24:
 
* [[Terraform: output]]
 
* [[Terraform: output]]
 
* [[Terraform best practices]]: Don't pass outputs directly through input variables,
 
* [[Terraform best practices]]: Don't pass outputs directly through input variables,
 +
* <code>[[Error: Missing required argument]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 11:30, 30 April 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[edit]

See also[edit]

Advertising: