You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data sources allow data to be fetched or computed for use elsewhere in local and configuration.
Use of data sources allows a Builder to make use of information defined outside of Packer.
A data source can output one or more attributes, which can be used by adding their key name to the data source unique identifier, like data....
Data sources allow data to be fetched or computed for use elsewhere in local and configuration.
Use of data sources allows a Builder to make use of information defined outside of Packer.
A data source can output one or more attributes, which can be used by adding their key name to the data source unique identifier, like data....
Example:
"data.amazon-ami.example" {
id = "ami12345"
name = "MyAMI"
creation_date = "01/01/2021"
owner = "123456789"
owner_name = "Some Name"
tags = {"tag1": "value"}
}
See doc https://www.packer.io/docs/templates/hcl_templates/datasources
The text was updated successfully, but these errors were encountered: