qontract-reconcile 0.10.1rc741__py3-none-any.whl → 0.10.1rc743__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc741
3
+ Version: 0.10.1rc743
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -114,8 +114,8 @@ reconcile/terraform_cloudflare_resources.py,sha256=EbQQaoDnZ7brvRCpbFtwlD7KLk2hD
114
114
  reconcile/terraform_cloudflare_users.py,sha256=1EbTHwJgiPkJpMP-Ag340QNgGK3mXn3dcC3DpLakudM,13987
115
115
  reconcile/terraform_repo.py,sha256=c0GZFuY3rCm6VHjHqYbsgOHrEkRWKF_1LrMThsn2XDw,16127
116
116
  reconcile/terraform_resources.py,sha256=BN8XuJwjOt1ztruEAHydkd0YiBlb3fHZ7n0snZtRhck,19356
117
- reconcile/terraform_tgw_attachments.py,sha256=6uIzRWLtFerQZ2yOygv54tGmXbXTvexnFnu_DSG2CNQ,16043
118
- reconcile/terraform_users.py,sha256=bPdpipksGkRppfOka-UqawRiF7M-LwcZeW7RU-tP4zo,10356
117
+ reconcile/terraform_tgw_attachments.py,sha256=k9Lf0ST65gmI6aUV6HnvxSGcKL7MGx_lN22OXuRGH9Y,16224
118
+ reconcile/terraform_users.py,sha256=L921n4bD6-XbJeiiMKUI3quRacIkHlFEyvpi5Dcli_8,10374
119
119
  reconcile/terraform_vpc_peerings.py,sha256=rnDH1u93OyzrBM8Hib0HwSnlxZtx4ScRQaZAcn3mx-k,25402
120
120
  reconcile/vault_replication.py,sha256=79GZ_kCimPoQcxkdhkWTQxPOAa46E0mNhf05s_Mk5so,17385
121
121
  reconcile/vpc_peerings_validator.py,sha256=Kv22HJVlTW9l9GB2eXwjPWqdDbr_VuvQBNPttox6s5o,7177
@@ -777,8 +777,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
777
777
  tools/test/test_qontract_cli.py,sha256=w2l4BHB09k1d-BGJ1jBUNCqDv7zkqYrMHojQXg-21kQ,4155
778
778
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
779
779
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
780
- qontract_reconcile-0.10.1rc741.dist-info/METADATA,sha256=cgfVlFcpP_7SBRQSS8r6Dxp9Q5wu8J-1yR8mF4aBc6Y,2382
781
- qontract_reconcile-0.10.1rc741.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
782
- qontract_reconcile-0.10.1rc741.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
783
- qontract_reconcile-0.10.1rc741.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
784
- qontract_reconcile-0.10.1rc741.dist-info/RECORD,,
780
+ qontract_reconcile-0.10.1rc743.dist-info/METADATA,sha256=3porAcSIkBfriWl8PYVFIGBKGaCsF5J93rvcB__KPhc,2382
781
+ qontract_reconcile-0.10.1rc743.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
782
+ qontract_reconcile-0.10.1rc743.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
783
+ qontract_reconcile-0.10.1rc743.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
784
+ qontract_reconcile-0.10.1rc743.dist-info/RECORD,,
@@ -39,6 +39,7 @@ from reconcile.typed_queries.terraform_tgw_attachments.aws_accounts import (
39
39
  from reconcile.utils import gql
40
40
  from reconcile.utils.aws_api import AWSApi
41
41
  from reconcile.utils.defer import defer
42
+ from reconcile.utils.disabled_integrations import integration_is_enabled
42
43
  from reconcile.utils.ocm import (
43
44
  OCM,
44
45
  OCMMap,
@@ -381,7 +382,12 @@ def _filter_tgw_accounts(
381
382
  ClusterPeeringConnectionAccountTGWV1, peer_connection
382
383
  )
383
384
  tgw_account_names.add(tgw_peer_connection.account.name)
384
- return [a for a in accounts if a.name in tgw_account_names]
385
+ return [
386
+ a
387
+ for a in accounts
388
+ if a.name in tgw_account_names
389
+ and integration_is_enabled(QONTRACT_INTEGRATION.replace("_", "-"), a)
390
+ ]
385
391
 
386
392
 
387
393
  def _fetch_desired_state_data_source(
@@ -339,7 +339,7 @@ def early_exit_desired_state(*args, **kwargs) -> dict[str, Any]:
339
339
  "accounts": [
340
340
  add_account_identity(a)
341
341
  for a in queries.get_aws_accounts(terraform_state=True)
342
- if integration_is_enabled(QONTRACT_INTEGRATION, a)
342
+ if integration_is_enabled(QONTRACT_INTEGRATION.replace("_", "-"), a)
343
343
  ],
344
344
  "roles": [add_role_identity(r) for r in get_tf_roles()],
345
345
  }