Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maximelaboisson committed Apr 30, 2024
1 parent dfe214a commit 4d02b41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions parse-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ load_dir() {
KEY=${KEY#"application."}
fi

if [[ $KEY =~ ^"$3." ]]; then
KEY=${KEY#"$3."}
fi

# Removes the .terraform suffix if it exists
if [[ "$KEY" == *".terraform" ]]; then
KEY=${KEY%".terraform"}
Expand Down

0 comments on commit 4d02b41

Please sign in to comment.