Skip to content

Commit 912e8fd

Browse files
author
tbugfinder
committed
sync header of auto-created files
1 parent b86cf3f commit 912e8fd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

hooks/createbpmoduleoutputs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ for adir in ${FIXTURE_DIRS} ; do
3535
# Only select the blueprint name which refers to the module in ../../..
3636
MODULE_NAMES=$(terraform-config-inspect . --json| jq -r '.module_calls|.[]|select(.source=="../../..")|.name')
3737

38-
echo "# file created automatically" > "${TFMFILE}"
38+
printf "# This file has been created automatically.\n\n" > "${TFMFILE}"
3939

4040
#for modules in $(terraform-config-inspect . --json| jq -r '.module_calls|keys[]') ; do
4141

hooks/createi2o.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ fi
2828
TFDOCSHCL=$(terraform-docs tfvars json "${CWD}" | jq -r 'keys[] as $k | "\($k) = var.\($k)"' | indenttfo )
2929

3030
cat > "${TFHFILE}" <<EOF
31+
# This file has been created automatically.
32+
3133
output "inputs2outputs" {
3234
description = "all inputs passed to outputs"
3335
value = [{

0 commit comments

Comments
 (0)