Skip to content

Commit

Permalink
skip variables access_key in createi2o
Browse files Browse the repository at this point in the history
  • Loading branch information
tbugfinder committed May 5, 2022
1 parent 85681c9 commit 60791a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/createi2o.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [ -f "${TFHFILE}" ] ; then
rm -f "${TFHFILE}"
fi

TFDOCSHCL=$(terraform-docs tfvars json "${CWD}" | jq -r 'with_entries(select(.key | contains("password") or contains ("secret") |not)) | keys[] as $k | "\($k) = var.\($k)"' | indenttfo )
TFDOCSHCL=$(terraform-docs tfvars json "${CWD}" | jq -r 'with_entries(select(.key | contains("password") or contains("secret") or contains("access_key") | not)) | keys[] as $k | "\($k) = var.\($k)"' | indenttfo )

cat > "${TFHFILE}" <<EOF
# This file has been created automatically.
Expand Down

0 comments on commit 60791a9

Please sign in to comment.