qontract-reconcile 0.10.1rc776__py3-none-any.whl → 0.10.1rc777__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.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/RECORD +6 -6
- reconcile/terraform_repo.py +3 -1
- {qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc777
|
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
|
{qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/RECORD
RENAMED
@@ -112,7 +112,7 @@ reconcile/terraform_aws_route53.py,sha256=R8eZHlvP368nvtmLd_cMSK3RGxD7jso9qE7NP9
|
|
112
112
|
reconcile/terraform_cloudflare_dns.py,sha256=MZO3_2Hb0BhNkOTWIm2UHvR-SPKvLsk2l_fHNk4WOrk,13471
|
113
113
|
reconcile/terraform_cloudflare_resources.py,sha256=EbQQaoDnZ7brvRCpbFtwlD7KLk2hDVNcjhrJGaAywEk,15023
|
114
114
|
reconcile/terraform_cloudflare_users.py,sha256=1EbTHwJgiPkJpMP-Ag340QNgGK3mXn3dcC3DpLakudM,13987
|
115
|
-
reconcile/terraform_repo.py,sha256=
|
115
|
+
reconcile/terraform_repo.py,sha256=xkp5EiRQ7cz-IquXiBq5plvBQLf910tqywKK0B_QlPM,16271
|
116
116
|
reconcile/terraform_resources.py,sha256=BN8XuJwjOt1ztruEAHydkd0YiBlb3fHZ7n0snZtRhck,19356
|
117
117
|
reconcile/terraform_tgw_attachments.py,sha256=k9Lf0ST65gmI6aUV6HnvxSGcKL7MGx_lN22OXuRGH9Y,16224
|
118
118
|
reconcile/terraform_users.py,sha256=9rgbM572LfmOSnV3uCP20G_Cw6T7due94g8rhhiz904,10225
|
@@ -785,8 +785,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
785
785
|
tools/test/test_qontract_cli.py,sha256=w2l4BHB09k1d-BGJ1jBUNCqDv7zkqYrMHojQXg-21kQ,4155
|
786
786
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
787
787
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
788
|
-
qontract_reconcile-0.10.
|
789
|
-
qontract_reconcile-0.10.
|
790
|
-
qontract_reconcile-0.10.
|
791
|
-
qontract_reconcile-0.10.
|
792
|
-
qontract_reconcile-0.10.
|
788
|
+
qontract_reconcile-0.10.1rc777.dist-info/METADATA,sha256=y8s0XFcnoAsVoxo2TqjHkrGZJJEhyXPUrVg8_-Q8h-w,2382
|
789
|
+
qontract_reconcile-0.10.1rc777.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
790
|
+
qontract_reconcile-0.10.1rc777.dist-info/entry_points.txt,sha256=rIxI5zWtHNlfpDeq1a7pZXAPoqf7HG32KMTN3MeWK_8,429
|
791
|
+
qontract_reconcile-0.10.1rc777.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
792
|
+
qontract_reconcile-0.10.1rc777.dist-info/RECORD,,
|
reconcile/terraform_repo.py
CHANGED
@@ -112,7 +112,6 @@ class TerraformRepoIntegration(
|
|
112
112
|
# when updating TerraformRepoV1 GQL schema, Pydantic does not gracefully handle these changes and fails to parse
|
113
113
|
# the existing state stored in S3. This is due to a behavior in Pydantic V1 that has since been addressed in V2
|
114
114
|
# https://docs.pydantic.dev/latest/blog/pydantic-v2/#required-vs-nullable-cleanup
|
115
|
-
# so in this case, tf-repo will just recreate all of those state files in S3 and not actually do a plan or apply
|
116
115
|
logging.error(err)
|
117
116
|
logging.info(
|
118
117
|
"Unable to parse existing Terraform-Repo state from S3. Note that this is separate from the actual .tfstate files. Terraform Repo will re-create its own state upon merge and will not update any infrastructure. This typically occurs with changes to the Terraform Repo schema files and is normally resolved once state is re-created."
|
@@ -125,6 +124,9 @@ class TerraformRepoIntegration(
|
|
125
124
|
recreate_state=True,
|
126
125
|
)
|
127
126
|
|
127
|
+
if repo_diff_result:
|
128
|
+
self.print_output(repo_diff_result, dry_run)
|
129
|
+
|
128
130
|
def print_output(self, diff: list[TerraformRepoV1], dry_run: bool) -> OutputFile:
|
129
131
|
"""Parses and prints the output of a Terraform Repo diff for the executor
|
130
132
|
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc776.dist-info → qontract_reconcile-0.10.1rc777.dist-info}/top_level.txt
RENAMED
File without changes
|