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

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
  
Deprecated in favour of <code>[[templatefile]]</code> [[function]].
+
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 ==
 
== Related terms ==
* [[Error: Invalid function argument]]
+
* <code>[[Error: Invalid function argument (no file exists)]]</code>
 
+
* <code>[[Error: failed to render]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{template_file}}
 
* {{Terraform data sources}}
 
* {{Terraform data sources}}
 
* {{terraform aws resources}}
 
* {{terraform aws resources}}
 +
* {{terraform plan}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 12:46, 4 March 2022

Advertising: