Skip to content

Commit

Permalink
Fixed wizard prompt when editing an AWS account.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will-NOQ committed May 16, 2023
1 parent 1e6a4d3 commit 8f3b9e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iambic/config/wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ def configuration_wizard_aws_account_edit(self):
else:
account = self.config.aws.accounts[0]

choices = ["Go back", "Update IAMbic control", "Update Region"]
choices = ["Go back", "Update region"]
if not account.org_id:
choices.append("Update name")

Expand All @@ -1002,7 +1002,7 @@ def configuration_wizard_aws_account_edit(self):
).unsafe_ask()
if action == "Go back":
return
elif action == "Update name":
elif action == "Update region":
account.default_region = set_aws_region(
"What region should IAMbic use?", account.default_region
)
Expand Down

0 comments on commit 8f3b9e2

Please sign in to comment.