Skip to content

Commit

Permalink
FIx: show_output.sh (#4413)
Browse files Browse the repository at this point in the history
* Update show_output.sh to use current directory and improve terraform_wrapper.sh usage documentation

* Bump version to 0.12.7

* Fix: update terraform output command to include working directory parameter and enhance wrapper script

* Fix: update changelog to correct formatting of terraform output command entry

* Fix: correct formatting of terraform output command entry in changelog
  • Loading branch information
ShakutaiGit authored Mar 10, 2025
1 parent 2ff68dc commit f9918b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENHANCEMENTS:
BUG FIXES:
* Fix the management storage access error while executing `make show-core-output` command, and remove redundant error messages from `mgmtstorage_enable_public_access.sh` script ([#4404](https://github.com/microsoft/AzureTRE/issues/4404))
* Fix retry loop in devcontainer action and override commands.sh [#4409](https://github.com/microsoft/AzureTRE/pull/4409)
* Fix terraform output command by adding working directory parameterPR ([#4413](https://github.com/microsoft/AzureTRE/pull/4413)) [#4412](https://github.com/microsoft/AzureTRE/issues/4412)

## 0.21.0

Expand Down
3 changes: 2 additions & 1 deletion core/terraform/show_output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ set -o nounset
# set -o xtrace

# shellcheck disable=SC2154
../../devops/scripts/terraform_wrapper.sh -g "${TF_VAR_mgmt_resource_group_name}" \
../../devops/scripts/terraform_wrapper.sh -d "${PWD}" \
-g "${TF_VAR_mgmt_resource_group_name}" \
-s "${TF_VAR_mgmt_storage_account_name}" \
-n "${TF_VAR_terraform_state_container_name}" \
-k "${TRE_ID}" -c "terraform show"
2 changes: 1 addition & 1 deletion core/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.12.6"
__version__ = "0.12.7"
2 changes: 1 addition & 1 deletion devops/scripts/terraform_wrapper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function usage() {
Usage: $0 [-d | --directory] [-g | --mgmt-resource-group-name ] [-s | --mgmt-storage-account-name] [-n | --state-container-name] [-k | --key] [-c | --cmd] [-l | --logfile]
Options:
-d, --directory Directory to change to before executing commands
-d, --directory Directory to change to before executing commands
-g, --mgmt-resource-group-name Management resource group name
-s, --mgmt-storage-account-name Management storage account name
-n, --state-container-name State container name
Expand Down

0 comments on commit f9918b3

Please sign in to comment.