Difference between revisions of "Terraform data source: template file"

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
  
 +
 +
Deprecated in favour of <code>[[templatefile]]</code> [[Terraform functions|function]].
 +
 +
* https://registry.terraform.io/providers/hashicorp/template/latest/docs/data-sources/file#template
 +
 +
 +
data "[[template_file]]" "my-secret" {
 +
  template = [[aws_iam_access_key]].my_new_user.encrypted_secret
 +
}
 +
 +
== Related terms ==
 +
* <code>[[Error: Invalid function argument (no file exists)]]</code>
 +
* <code>[[Error: failed to render]]</code>
  
 
== See also ==
 
== See also ==
* {{Terraform}}
+
* {{template_file}}
 +
* {{Terraform data sources}}
 +
* {{terraform aws resources}}
 +
* {{terraform plan}}
 +
 
 +
[[Category:Terraform]]

Latest revision as of 12:46, 4 March 2022

Advertising: