Destroy and recreate service bus in Tre stop start scripts#4883
Draft
JC-wk wants to merge 15 commits intomicrosoft:mainfrom
Draft
Destroy and recreate service bus in Tre stop start scripts#4883JC-wk wants to merge 15 commits intomicrosoft:mainfrom
JC-wk wants to merge 15 commits intomicrosoft:mainfrom
Conversation
added 11 commits
March 5, 2026 11:01
Unit Test Results0 tests 0 ✅ 0s ⏱️ Results for commit f0771b8. ♻️ This comment has been updated with latest results. |
added 2 commits
March 6, 2026 15:56
Collaborator
Author
|
Thoughts @marrobi ? Adding the TF apply this becomes more similar to make tre-deploy. Do you think the service bus destroy should be an optional param that users can run, and then they can run make tre-deploy first then tre-start to restart their TRE instead? Happy to amend this as necessary. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #3953
What is being addressed
When

make tre-stopruns destroy the service bus and stop function apps / web apps (to prevent log spam) to save costs.Update: See additonal logging costs (right of chart) if the apps are not stopped
How is this addressed
By including the terraform apply in the start script it allows a wider variety of things to be stopped / deleted and then recreated to save costs.