Difference between revisions of "Terraform data source: data"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* [[Terraform AWS data sources]] | * [[Terraform AWS data sources]] | ||
+ | ** <code>[[aws_caller_identity]]</code> | ||
+ | |||
* [[Data sources]]: <code>[[Data sources: template file|template_file]]</code>, <code>[[template]]</code> | * [[Data sources]]: <code>[[Data sources: template file|template_file]]</code>, <code>[[template]]</code> | ||
* <code>data</code> block | * <code>data</code> block | ||
− | |||
==Example== | ==Example== |
Revision as of 16:54, 28 September 2021
- Data sources:
template_file
,template
data
block
Example
data "aws_ami" "myexample" { most_recent = true owners = ["self"] tags = { Name = "app-server" Tested = "true" } }
Related terms
See also
Advertising: