Difference between revisions of "Output.tf"
Jump to navigation
Jump to search
(Created page with " == See also == * {{Terraform}} Category:Terraform") |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | |||
+ | |||
+ | [[Terraform: output|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 == | ||
+ | * <code>[[terraform output]]</code> | ||
+ | * [[Terraform best practices]] | ||
+ | * [[Terraform: output]] | ||
+ | * [[Terraform best practices]]: Don't pass outputs directly through input variables, | ||
+ | * <code>[[Error: Missing required argument]]</code> | ||
== See also == | == See also == | ||
− | * {{ | + | * {{tf_files}} |
[[Category:Terraform]] | [[Category:Terraform]] |
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]
terraform output
- Terraform best practices
- Terraform: output
- Terraform best practices: Don't pass outputs directly through input variables,
Error: Missing required argument
See also[edit]
Advertising: