Difference between revisions of "Terraform data sources"

From wikieduonline
Jump to navigation Jump to search
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
https://www.terraform.io/language/data-sources
+
Terraform data sources are available since 2016.
 +
* https://www.terraform.io/language/data-sources
 +
* https://www.terraform.io/docs/language/data-sources/index.html
 +
 
 +
 
 +
[[data]] "[[aws_ami]]" "example" {
 +
  most_recent = true
 +
 +
  owners = ["self"]
 +
  tags = {
 +
    Name  = "app-server"
 +
    Tested = "true"
 +
  }
 +
}
 +
 
 +
 
 +
 
  
 
TO_MERGE: [[Terraform: Data sources]]
 
TO_MERGE: [[Terraform: Data sources]]
  
 
* [[Terraform data source]]: <code>[[Data sources: template file|template_file]]</code>
 
* [[Terraform data source]]: <code>[[Data sources: template file|template_file]]</code>
* [[Terraform data source]]: <code>[[Terraform data source: aws vpc|aws_vpc]]</code>
+
* [[Terraform data source]]: <code>[[Terraform data source: terraform remote state|terraform_remote_state]]</code>
* [[Terraform data]]: <code>[[Terraform data: aws_subnet|aws_subnet]]</code>
+
 
* [[Terraform data]]: <code>[[Terraform data: aws_subnets|aws_subnets]]</code>
+
[[Terraform AWS data sources|AWS]]
* [[Terraform data source]]: <code>[[Terraform data source: aws subnet ids|aws_subnet_ids]]</code>
+
* {{tf aws data sources TOC}}
* [[Terraform data source]]: <code>[[Terraform data source: terraform remote state|terraform remote state]]</code>
+
 
* [[Data Source: aws availability zones]]
+
 
 +
[[GCP]]
 +
* [[google_client_config]]
 +
 
 +
 
  
 
== Related ==
 
== Related ==
Line 17: Line 37:
 
* <code>[[aws_iam_policy_document]]</code>
 
* <code>[[aws_iam_policy_document]]</code>
 
* <code>[[aws_partition]]</code>
 
* <code>[[aws_partition]]</code>
 +
* <code>[[data.]]</code>
 +
* [[Terraform EKS data sources]]
  
 
== See also ==
 
== See also ==
 
* {{terraform data sources}}
 
* {{terraform data sources}}
 
* {{Terraform resources}}
 
* {{Terraform resources}}
 +
* {{tf modules}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 15:14, 10 October 2024

Advertising: