Difference between revisions of "Jq -c"

From wikieduonline
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
  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]])"
 +
 +
== Related ==
 +
* <code>[[jq -r]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 14:25, 22 May 2024

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

Related[edit]

See also[edit]

Advertising: