Guillaume Coré
2019-03-15 bef0d161a5202dc957578ef64724c433a44d430b
refs
author Guillaume Coré <gucore@redhat.com>
Friday, March 15, 2019 18:30 +0100
committer Guillaume Coré <gucore@redhat.com>
Friday, March 15, 2019 18:31 +0100
commitbef0d161a5202dc957578ef64724c433a44d430b
tree 0b7dd3e7010768a509c358cd16c98be0bb936e71 tree | zip | gz
parent e27b5f2fc65cb183ee34ebd80e61ed5f3242a813 view | diff
Don't make API call  to IAM if not necessary

Fix:
-- Exception 1 --

"arn": ".."
"eventTime": "2019-03-15T04:29:57Z",
"eventSource": "iam.amazonaws.com ",
"eventName": "CreateAccountAlias",
"errorCode": "EntityAlreadyExistsException",
"errorMessage": "The account alias ... already exists."
3 files modified
5 ■■■■■ changed files
ansible/roles/infra-aws-sandbox/defaults/main.yml 3 ●●●●● diff | view | raw | blame | history
ansible/roles/infra-aws-sandbox/tasks/account.yml 1 ●●●● diff | view | raw | blame | history
ansible/roles/infra-aws-sandbox/tasks/alias.yml 1 ●●●● diff | view | raw | blame | history