Difference between revisions of "Terraform data source: data"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
  
 
* [[Terraform AWS data sources]]
 
* [[Terraform AWS data sources]]
* [[Data sources: template file]]
+
* [[Data sources: template file]]: <code>[[template_file]]</code>
  
 
<code>data</code> block
 
<code>data</code> block

Revision as of 10:28, 14 September 2021


data block

data "aws_ami" "example" {
  most_recent = true

  owners = ["self"]
  tags = {
    Name   = "app-server"
    Tested = "true"
  }
}

Related terms

See also

Advertising: