qontract-reconcile 0.10.2.dev112__py3-none-any.whl → 0.10.2.dev114__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.dev112.dist-info → qontract_reconcile-0.10.2.dev114.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.2.dev112.dist-info → qontract_reconcile-0.10.2.dev114.dist-info}/RECORD +7 -7
- reconcile/aws_account_manager/integration.py +4 -1
- reconcile/gql_definitions/aws_account_manager/aws_accounts.py +4 -0
- reconcile/gql_definitions/introspection.json +24 -0
- {qontract_reconcile-0.10.2.dev112.dist-info → qontract_reconcile-0.10.2.dev114.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.2.dev112.dist-info → qontract_reconcile-0.10.2.dev114.dist-info}/entry_points.txt +0 -0
{qontract_reconcile-0.10.2.dev112.dist-info → qontract_reconcile-0.10.2.dev114.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.dev114
|
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.dev112.dist-info → qontract_reconcile-0.10.2.dev114.dist-info}/RECORD
RENAMED
@@ -144,7 +144,7 @@ reconcile/automated_actions/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
|
|
144
144
|
reconcile/automated_actions/config/integration.py,sha256=cf1VxolcjlGP-xO7IIH5A00Qr4znNJTT7a_sU18ABig,10755
|
145
145
|
reconcile/aws_account_manager/README.md,sha256=_XFM3GZNHUzv--e_navqJuaUWpjC6QrHfulreHynFf0,262
|
146
146
|
reconcile/aws_account_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
147
|
-
reconcile/aws_account_manager/integration.py,sha256=
|
147
|
+
reconcile/aws_account_manager/integration.py,sha256=v-l4fdWTgX_vSYiBKAfDvT_g0_ZKNPDQnDKUyhrSzIs,15143
|
148
148
|
reconcile/aws_account_manager/merge_request_manager.py,sha256=q8t-YwD4y_4UpxdoG9TQrEbDpjlzasOQIynFoCjP2OE,3947
|
149
149
|
reconcile/aws_account_manager/metrics.py,sha256=YB10ea4kIGwJfs5N14RF-RoXPb-QQWaDBz1jLZ3YWE0,917
|
150
150
|
reconcile/aws_account_manager/reconciler.py,sha256=8mwwcWVVNoUzmttzxgnLyePqN823v1t_dQCNCrx1mG0,15035
|
@@ -227,7 +227,7 @@ reconcile/glitchtip_project_alerts/integration.py,sha256=BgMx-NyV9mTuv7Sotb2OioC
|
|
227
227
|
reconcile/glitchtip_project_dsn/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
228
228
|
reconcile/glitchtip_project_dsn/integration.py,sha256=2iugub-kHYkHNK33n0v9_TeWonuxCPah_VkoTPvaajE,8077
|
229
229
|
reconcile/gql_definitions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
230
|
-
reconcile/gql_definitions/introspection.json,sha256=
|
230
|
+
reconcile/gql_definitions/introspection.json,sha256=_jq9M-0AjHkgGDguglV1mi29Ajk7yfpSKh28LOouPb4,2281058
|
231
231
|
reconcile/gql_definitions/acs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
232
232
|
reconcile/gql_definitions/acs/acs_instances.py,sha256=L91WW9LbhJbBSrECqShQpFtjoBOsmNIYLRpMbx1io5o,2181
|
233
233
|
reconcile/gql_definitions/acs/acs_policies.py,sha256=bN5i4mks10Z23KJSj7jqp966Osq2dps4d-sPH9gjxEA,7008
|
@@ -243,7 +243,7 @@ reconcile/gql_definitions/app_sre_tekton_access_revalidation/users.py,sha256=XdV
|
|
243
243
|
reconcile/gql_definitions/automated_actions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
244
244
|
reconcile/gql_definitions/automated_actions/instance.py,sha256=D50v0exLeK5hvjQKvxQ5V-6DnYZo_L6cX_Gaf3PGREs,5491
|
245
245
|
reconcile/gql_definitions/aws_account_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
246
|
-
reconcile/gql_definitions/aws_account_manager/aws_accounts.py,sha256=
|
246
|
+
reconcile/gql_definitions/aws_account_manager/aws_accounts.py,sha256=YnS_CDwKMNCxE5ySaKC_72pG9_WmW3nz8ZyyCzX1yV4,5119
|
247
247
|
reconcile/gql_definitions/aws_ami_cleanup/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
248
248
|
reconcile/gql_definitions/aws_ami_cleanup/aws_accounts.py,sha256=jIgOa888MYLLvVsn1ir3nbkhWLG5T6dBg7oDnp1q8BI,4108
|
249
249
|
reconcile/gql_definitions/aws_saml_idp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -791,7 +791,7 @@ tools/saas_promotion_state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJ
|
|
791
791
|
tools/saas_promotion_state/saas_promotion_state.py,sha256=UfwwRLS5Ya4_Nh1w5n1dvoYtchQvYE9yj1VANt2IKqI,3925
|
792
792
|
tools/sre_checkpoints/__init__.py,sha256=CDaDaywJnmRCLyl_NCcvxi-Zc0hTi_3OdwKiFOyS39I,145
|
793
793
|
tools/sre_checkpoints/util.py,sha256=zEDbGr18ZeHNQwW8pUsr2JRjuXIPz--WAGJxZo9sv_Y,894
|
794
|
-
qontract_reconcile-0.10.2.
|
795
|
-
qontract_reconcile-0.10.2.
|
796
|
-
qontract_reconcile-0.10.2.
|
797
|
-
qontract_reconcile-0.10.2.
|
794
|
+
qontract_reconcile-0.10.2.dev114.dist-info/METADATA,sha256=47y9PHHGLYoNtOBWDmFYOIpvSOOtwueDj-VZZ5_dRt8,24566
|
795
|
+
qontract_reconcile-0.10.2.dev114.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
796
|
+
qontract_reconcile-0.10.2.dev114.dist-info/entry_points.txt,sha256=5i9l54La3vQrDLAdwDKQWC0iG4sV9RRfOb1BpvzOWLc,698
|
797
|
+
qontract_reconcile-0.10.2.dev114.dist-info/RECORD,,
|
@@ -195,6 +195,7 @@ class AwsAccountMgmtIntegration(
|
|
195
195
|
aws_api: AWSApi,
|
196
196
|
reconciler: AWSReconciler,
|
197
197
|
organization_accounts: Iterable[AWSAccountManaged],
|
198
|
+
default_tags: dict[str, str],
|
198
199
|
) -> None:
|
199
200
|
"""Reconcile organization accounts."""
|
200
201
|
for account in organization_accounts:
|
@@ -204,7 +205,7 @@ class AwsAccountMgmtIntegration(
|
|
204
205
|
name=account.name,
|
205
206
|
uid=account.uid,
|
206
207
|
ou=account.organization.ou,
|
207
|
-
tags=
|
208
|
+
tags=default_tags
|
208
209
|
| account.organization.tags
|
209
210
|
| {"app-interface-name": account.name},
|
210
211
|
enterprise_support=account.premium_support,
|
@@ -276,6 +277,8 @@ class AwsAccountMgmtIntegration(
|
|
276
277
|
acct_manager_role_aws_api,
|
277
278
|
reconciler,
|
278
279
|
payer_account.organization_accounts or [],
|
280
|
+
default_tags=self.params.default_tags
|
281
|
+
| (payer_account.organization_account_tags or {}),
|
279
282
|
)
|
280
283
|
|
281
284
|
def reconcile_non_organization_accounts(
|
@@ -90,10 +90,12 @@ query AWSAccountManagerAccounts {
|
|
90
90
|
supportedDeploymentRegions
|
91
91
|
uid
|
92
92
|
additionalFeatures
|
93
|
+
accountFileTargetPath
|
93
94
|
}
|
94
95
|
organization_accounts {
|
95
96
|
... AWSAccountManaged
|
96
97
|
}
|
98
|
+
organizationAccountTags
|
97
99
|
}
|
98
100
|
}
|
99
101
|
"""
|
@@ -143,6 +145,7 @@ class AWSAccountRequestV1(ConfiguredBaseModel):
|
|
143
145
|
supported_deployment_regions: Optional[list[str]] = Field(..., alias="supportedDeploymentRegions")
|
144
146
|
uid: Optional[str] = Field(..., alias="uid")
|
145
147
|
additional_features: Optional[Json] = Field(..., alias="additionalFeatures")
|
148
|
+
account_file_target_path: Optional[str] = Field(..., alias="accountFileTargetPath")
|
146
149
|
|
147
150
|
|
148
151
|
class AWSAccountV1(AWSAccountManaged):
|
@@ -152,6 +155,7 @@ class AWSAccountV1(AWSAccountManaged):
|
|
152
155
|
automation_role: Optional[AWSAutomationRoleV1] = Field(..., alias="automationRole")
|
153
156
|
account_requests: Optional[list[AWSAccountRequestV1]] = Field(..., alias="account_requests")
|
154
157
|
organization_accounts: Optional[list[AWSAccountManaged]] = Field(..., alias="organization_accounts")
|
158
|
+
organization_account_tags: Optional[Json] = Field(..., alias="organizationAccountTags")
|
155
159
|
|
156
160
|
|
157
161
|
class AWSAccountManagerAccountsQueryData(ConfiguredBaseModel):
|
@@ -10408,6 +10408,18 @@
|
|
10408
10408
|
"isDeprecated": false,
|
10409
10409
|
"deprecationReason": null
|
10410
10410
|
},
|
10411
|
+
{
|
10412
|
+
"name": "organizationAccountTags",
|
10413
|
+
"description": null,
|
10414
|
+
"args": [],
|
10415
|
+
"type": {
|
10416
|
+
"kind": "SCALAR",
|
10417
|
+
"name": "JSON",
|
10418
|
+
"ofType": null
|
10419
|
+
},
|
10420
|
+
"isDeprecated": false,
|
10421
|
+
"deprecationReason": null
|
10422
|
+
},
|
10411
10423
|
{
|
10412
10424
|
"name": "account_requests",
|
10413
10425
|
"description": null,
|
@@ -15396,6 +15408,18 @@
|
|
15396
15408
|
},
|
15397
15409
|
"isDeprecated": false,
|
15398
15410
|
"deprecationReason": null
|
15411
|
+
},
|
15412
|
+
{
|
15413
|
+
"name": "accountFileTargetPath",
|
15414
|
+
"description": null,
|
15415
|
+
"args": [],
|
15416
|
+
"type": {
|
15417
|
+
"kind": "SCALAR",
|
15418
|
+
"name": "String",
|
15419
|
+
"ofType": null
|
15420
|
+
},
|
15421
|
+
"isDeprecated": false,
|
15422
|
+
"deprecationReason": null
|
15399
15423
|
}
|
15400
15424
|
],
|
15401
15425
|
"inputFields": null,
|
{qontract_reconcile-0.10.2.dev112.dist-info → qontract_reconcile-0.10.2.dev114.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|