Skip to content

Commit

Permalink
Merge pull request #415 from noqdev/fix-wizard-prompt
Browse files Browse the repository at this point in the history
Fixed wizard prompt when editing an AWS account.
  • Loading branch information
Will-NOQ committed May 22, 2023
2 parents 4917df3 + 8f3b9e2 commit de607a4
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 @@ -992,7 +992,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 @@ -1003,7 +1003,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 de607a4

Please sign in to comment.