Skip to content

Commit

Permalink
Remove remove_sre call from teardown command
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed Jan 25, 2024
1 parent 87d1249 commit 6db60c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data_safe_haven/commands/teardown.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ def sre(
msg = f"Unable to teardown Pulumi infrastructure.\n{exc}"
raise DataSafeHavenInputError(msg) from exc

# Remove information from config file
# Remove stack from config file
config.remove_stack(stack.stack_name)
config.remove_sre(sre_name)

# Upload config to blob storage
config.upload()
Expand Down

0 comments on commit 6db60c4

Please sign in to comment.