Difference between revisions of "Terraform data source: data"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
==Example== | ==Example== | ||
− | |||
− | |||
− | |||
− | + | [[data]] "aws_ami" "myexample" { | |
− | + | most_recent = true | |
− | + | ||
− | + | owners = ["self"] | |
− | + | tags = { | |
− | } | + | Name = "app-server" |
− | + | Tested = "true" | |
+ | } | ||
+ | } | ||
== Related terms == | == Related terms == |
Revision as of 19:27, 15 September 2021
Example
data "aws_ami" "myexample" { most_recent = true owners = ["self"] tags = { Name = "app-server" Tested = "true" } }
Related terms
See also
- Terraform AWS resources: IAM, Net, EC2, ECS, ECR, S3, Route53, ACM, CloudWatch, CloudFront SES, RDS, DLM
Advertising: