Difference between revisions of "Jq -c"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 3: Line 3:
 
  cat [[.terraform/terraform.tfstate]] | [[jq]] -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $[[AWS_ENV]])"
 
  cat [[.terraform/terraform.tfstate]] | [[jq]] -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $[[AWS_ENV]])"
  
 +
== See also ==
 
* {{jq}}
 
* {{jq}}
 +
 +
[[Category:jq]]

Revision as of 14:16, 14 December 2023

cat .terraform/terraform.tfstate | jq -c '.backend.config.bucket' | tr -d '"' | grep -c "$(echo $AWS_ENV)"

See also

Advertising: