Skip to content

Conversation

@sbkok
Copy link
Collaborator

@sbkok sbkok commented Aug 31, 2022

Why?

At the moment, the account management state machine will attempt to add the specified alias to the account whether it is present or not.

In case the alias already exists, it will fail.

What?

This change will ensure the aliases configured on the account are removed when they are no longer configured (you can only have one, but the API supports multiple). It will then add the alias if the alias that needs to be present is
missing.

Updated maximum number of attempts in the State Machines to max 10, as 30 would imply multiple days of retries.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sbkok added 2 commits August 31, 2022 18:33
**Why?**

At the moment, the account management state machine will attempt to add the
specified alias to the account whether it is present or not.

In case the alias already exists, it will fail.

**What?**

This change will ensure the aliases configured on the account are removed when
they are no longer configured (you can only have one, but the API supports
multiple). It will then add the alias if the alias that needs to be present is
missing.
@sbkok sbkok added the bug Something isn't working label Aug 31, 2022
@sbkok sbkok added this to the v3.2.0 milestone Aug 31, 2022
@sbkok sbkok requested review from StewartW and javydekoning August 31, 2022 17:35
Copy link
Contributor

@javydekoning javydekoning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Simon, makes more sense like this.

@sbkok sbkok merged commit a2ecd88 into awslabs:master Sep 1, 2022
@sbkok sbkok deleted the fix/update-account-alias branch September 1, 2022 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants