Difference between revisions of "Terraform state pull"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
  
  terraform state pull | jq '.resources[] | select(.type == "aws_iam_access_key") | .instances[0].attributes' <ref>https://stackoverflow.com/questions/59473690/how-to-extract-sensitive-output-variables-in-terraform</ref>
+
  [[terraform state]] [[pull]] | jq '.resources[] | select(.type == "[[aws_iam_access_key]]") | .instances[0].attributes' <ref>https://stackoverflow.com/questions/59473690/how-to-extract-sensitive-output-variables-in-terraform</ref>
  
  
Line 13: Line 13:
 
== See also ==
 
== See also ==
 
* {{terraform state}}
 
* {{terraform state}}
* {{terraform cmd}}
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 10:04, 27 February 2023

Advertising: