qontract-reconcile 0.10.2.dev273__py3-none-any.whl → 0.10.2.dev275__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/RECORD +7 -7
- reconcile/aws_account_manager/reconciler.py +1 -1
- reconcile/utils/aws_api_typed/account.py +1 -5
- reconcile/utils/aws_api_typed/iam.py +1 -1
- {qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.2.
|
3
|
+
Version: 0.10.2.dev275
|
4
4
|
Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
|
5
5
|
Project-URL: homepage, https://github.com/app-sre/qontract-reconcile
|
6
6
|
Project-URL: repository, https://github.com/app-sre/qontract-reconcile
|
{qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/RECORD
RENAMED
@@ -141,7 +141,7 @@ reconcile/aws_account_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
141
141
|
reconcile/aws_account_manager/integration.py,sha256=WEbcvF8GocFHJrlz3mmXSOyYHIUrrHxq_SKaImgJQ2c,15346
|
142
142
|
reconcile/aws_account_manager/merge_request_manager.py,sha256=q8t-YwD4y_4UpxdoG9TQrEbDpjlzasOQIynFoCjP2OE,3947
|
143
143
|
reconcile/aws_account_manager/metrics.py,sha256=YB10ea4kIGwJfs5N14RF-RoXPb-QQWaDBz1jLZ3YWE0,917
|
144
|
-
reconcile/aws_account_manager/reconciler.py,sha256
|
144
|
+
reconcile/aws_account_manager/reconciler.py,sha256=-ki1ve7Hurrcl10NSlSH766DLm8FkxcR6aPXm9t1Si0,17144
|
145
145
|
reconcile/aws_account_manager/utils.py,sha256=iYPPOtbZ7FiKkz9v5f1YXRIHw5YFOtSavUkF8oMwfJY,1439
|
146
146
|
reconcile/aws_ami_cleanup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
147
147
|
reconcile/aws_ami_cleanup/integration.py,sha256=KG7g9NpbKmoaveDD3oi9SinqUE29NaM-4lGo-6YuHlM,9302
|
@@ -669,10 +669,10 @@ reconcile/utils/acs/base.py,sha256=4UsDrCpAOuddL3PKNuIQYoJP1BtZQNNB8_KEX0lXneg,2
|
|
669
669
|
reconcile/utils/acs/policies.py,sha256=jpbi3qpGkBD_X6MfzsX12dPajUbmACmhIOz_0rDvYzs,5489
|
670
670
|
reconcile/utils/acs/rbac.py,sha256=ugsLM9Pb7FbUbdq85E3VzXGMaB9ZovXob7tdWCxwqZ8,8808
|
671
671
|
reconcile/utils/aws_api_typed/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
672
|
-
reconcile/utils/aws_api_typed/account.py,sha256=
|
672
|
+
reconcile/utils/aws_api_typed/account.py,sha256=j73Oqd64UATP_FnAZ7VXh5KZ-pmhQ33CDdY1ULCBLgk,3283
|
673
673
|
reconcile/utils/aws_api_typed/api.py,sha256=1h_dQXnE7FUAZi4RRgBEU7nbyAz8awRo0cpuilXyhHE,9239
|
674
674
|
reconcile/utils/aws_api_typed/dynamodb.py,sha256=AKUbz8HGzmSq4cnpjJe7PgqsikMkjbpbzUD2UJv2b58,383
|
675
|
-
reconcile/utils/aws_api_typed/iam.py,sha256
|
675
|
+
reconcile/utils/aws_api_typed/iam.py,sha256=-mpiFiIIMCbNzSi41CoLDk22CMDIi3ehxULiNCkKZ-w,2873
|
676
676
|
reconcile/utils/aws_api_typed/organization.py,sha256=rmZkm14t30Bm0ctMTtCNzcDrTjOFkal1TO0pHncNxcg,5513
|
677
677
|
reconcile/utils/aws_api_typed/s3.py,sha256=J2uOTtEFgMyKT22pa4DbFnV7zfg575m2DeidQaeselM,1034
|
678
678
|
reconcile/utils/aws_api_typed/service_quotas.py,sha256=ywPligZTxGgDhJ4TjWzXg5MbQ4j1iGUxonngII_KOHo,3022
|
@@ -797,7 +797,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
797
797
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=oF7C4hpIgyMTwTRm3Aun3cDCHIjVar65JoLp6NcJHlU,3909
|
798
798
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
799
799
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
800
|
-
qontract_reconcile-0.10.2.
|
801
|
-
qontract_reconcile-0.10.2.
|
802
|
-
qontract_reconcile-0.10.2.
|
803
|
-
qontract_reconcile-0.10.2.
|
800
|
+
qontract_reconcile-0.10.2.dev275.dist-info/METADATA,sha256=1E9h_7UESs5-f4Fza1ZH2ROeTpUiLBntDj6v4pwLXO4,24501
|
801
|
+
qontract_reconcile-0.10.2.dev275.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
802
|
+
qontract_reconcile-0.10.2.dev275.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
803
|
+
qontract_reconcile-0.10.2.dev275.dist-info/RECORD,,
|
@@ -322,7 +322,7 @@ class AWSReconciler:
|
|
322
322
|
if _state.exists and _state.value == security_contact:
|
323
323
|
return
|
324
324
|
|
325
|
-
logging.info(f"{
|
325
|
+
logging.info(f"{account}: Setting security contact")
|
326
326
|
if self.dry_run:
|
327
327
|
raise AbortStateTransactionError("Dry run")
|
328
328
|
|
@@ -8,7 +8,6 @@ if TYPE_CHECKING:
|
|
8
8
|
else:
|
9
9
|
AccountClient = AlternateContactTypeDef = object
|
10
10
|
|
11
|
-
import botocore
|
12
11
|
from pydantic import BaseModel
|
13
12
|
|
14
13
|
|
@@ -44,10 +43,7 @@ class AWSApiAccount:
|
|
44
43
|
Title=title,
|
45
44
|
PhoneNumber=phone_number,
|
46
45
|
)
|
47
|
-
except
|
48
|
-
if e.response["Error"]["Code"] != "AccessDenied":
|
49
|
-
raise
|
50
|
-
|
46
|
+
except self.client.exceptions.AccessDeniedException:
|
51
47
|
# This exception is raised if the user does not have permission to perform this action.
|
52
48
|
# Let's see if the current security contact is already set to the same values.
|
53
49
|
current_contact = self.get_security_contact()
|
@@ -69,7 +69,7 @@ class AWSApiIam:
|
|
69
69
|
raise ValueError(
|
70
70
|
"Account alias already exists for another AWS account. Choose another one!"
|
71
71
|
) from e
|
72
|
-
elif e.response["Error"]["Code"] == "
|
72
|
+
elif e.response["Error"]["Code"] == "AccessDeniedException":
|
73
73
|
# AccessDeniedException can occur if the user does not have permission to create an account alias.
|
74
74
|
# This can happen if the alias is already set and we don't have permission to change it.
|
75
75
|
# If the existing alias is the one we want, we can ignore the error.
|
{qontract_reconcile-0.10.2.dev273.dist-info → qontract_reconcile-0.10.2.dev275.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|