Difference between revisions of "Terraform data source: data"

From wikieduonline
Jump to navigation Jump to search
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
* https://www.terraform.io/docs/language/data-sources/index.html
 
  
 +
TOMERGE: [[Terraform data sources]]
  
* [[Terraform AWS data sources]]
+
* [[Terraform AWS data sources]] (more than 300)<ref>https://www.hashicorp.com/blog/terraform-aws-provider-4-0-refactors-s3-bucket-resource</ref>
* [[Data sources: template file]]
+
** <code>[[aws_caller_identity]]</code>
  
<code>data</code> block
+
* [[Data sources]]: <code>[[Data sources: template file|template_file]]</code>, <code>[[template]]</code>
<pre>
+
* <code>data</code> [[Terraform blocks|block]]
data "aws_ami" "example" {
 
  most_recent = true
 
 
 
  owners = ["self"]
 
  tags = {
 
    Name  = "app-server"
 
    Tested = "true"
 
  }
 
}
 
</pre>
 
  
 
== Related terms ==
 
== Related terms ==
* [[Terraform AWS]]
+
* [[Terraform AWS]]: [[Terraform AWS data sources|data sources]]
 +
* [[Terraform: output]]
 +
* [[Terraform: plural data source]]
 +
* <code>[[data.]]</code>
 +
* <code>[[var.]]</code>
 +
* [[Terraform: provider]], [[Terraform: resource]]
 +
* <code>[[aws_iam_policy_document]]</code>
 +
* <code>[[for_each]]</code>
  
 
== See also ==
 
== See also ==
* {{terraform aws resources}}
+
* {{terraform aws data sources}}
 +
* {{terraform data sources}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 18:01, 14 May 2023

Advertising: