qontract-reconcile 0.10.1rc560__py3-none-any.whl → 0.10.1rc562__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.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/RECORD +7 -7
- reconcile/utils/oc.py +1 -1
- reconcile/utils/terrascript_aws_client.py +19 -0
- {qontract_reconcile-0.10.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc560.dist-info → qontract_reconcile-0.10.1rc562.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.1rc562
|
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.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/RECORD
RENAMED
@@ -571,7 +571,7 @@ reconcile/utils/lean_terraform_client.py,sha256=zReyNPJbr2uOdrdh8Qfe-OZQBoRwxb5Z
|
|
571
571
|
reconcile/utils/make.py,sha256=QaEwucrzbl8-VHS66Wfdjfo0ubmAcvt_hZGpiGsKU50,231
|
572
572
|
reconcile/utils/metrics.py,sha256=7nXdctmZ0UtGMHPpS3V55sfH4xpMPqdYaJ3JKAUc_sM,18474
|
573
573
|
reconcile/utils/models.py,sha256=R3wF68yiaT0H2sQVMmHhHSTGI3JKKYEVjoizhHkySn8,4533
|
574
|
-
reconcile/utils/oc.py,sha256=
|
574
|
+
reconcile/utils/oc.py,sha256=zzMes9Xr1J6p-n6FPIB4F6PP_XrabmNPxUDP9ruyYzA,64088
|
575
575
|
reconcile/utils/oc_connection_parameters.py,sha256=85slrnDigYwYmzhyceVkMElWzFArp4ge1d-fHXVqh0w,9729
|
576
576
|
reconcile/utils/oc_filters.py,sha256=R2Lf3fo0jQCeE62Ygeo_KN24XbAosq0QbjimYG6qHI4,1402
|
577
577
|
reconcile/utils/oc_map.py,sha256=nT69J5pdPeIDnIYjD9fwY6GkE3BMQCf-AF0rmHJuUNw,9068
|
@@ -597,7 +597,7 @@ reconcile/utils/state.py,sha256=SAa6QLHu9lr0yqLCBy2AypNx1IPCJWlrRBrvlzAKsOU,1450
|
|
597
597
|
reconcile/utils/structs.py,sha256=LcbLEg8WxfRqM6nW7NhcWN0YeqF7SQzxOgntmLs1SgY,352
|
598
598
|
reconcile/utils/template.py,sha256=wTvRU4AnAV_o042tD4Mwls2dwWMuk7MKnde3MaCjaYg,331
|
599
599
|
reconcile/utils/terraform_client.py,sha256=_jBriLBwU005bDxWlq7CRByOkVCfiH47oBzB0ArNAY8,31901
|
600
|
-
reconcile/utils/terrascript_aws_client.py,sha256=
|
600
|
+
reconcile/utils/terrascript_aws_client.py,sha256=iYgRpt5UB9gejVMMCny-p1tChesh6HovMLrX65FbyjI,268803
|
601
601
|
reconcile/utils/three_way_diff_strategy.py,sha256=nyqeQsLCoPI6e16k2CF3b9KNgQLU-rPf5RtfdUfVMwE,4468
|
602
602
|
reconcile/utils/throughput.py,sha256=iP4UWAe2LVhDo69mPPmgo9nQ7RxHD6_GS8MZe-aSiuM,344
|
603
603
|
reconcile/utils/unleash.py,sha256=1D56CsZfE3ShDtN3IErE1T2eeIwNmxhK-yYbCotJ99E,3601
|
@@ -684,8 +684,8 @@ tools/test/test_app_interface_metrics_exporter.py,sha256=SX7qL3D1SIRKFo95FoQztvf
|
|
684
684
|
tools/test/test_qontract_cli.py,sha256=se-YG_YVCWRFrnCPvBVHDBT_59CkbIoEni-4SJa8_MU,2755
|
685
685
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
686
686
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
687
|
-
qontract_reconcile-0.10.
|
688
|
-
qontract_reconcile-0.10.
|
689
|
-
qontract_reconcile-0.10.
|
690
|
-
qontract_reconcile-0.10.
|
691
|
-
qontract_reconcile-0.10.
|
687
|
+
qontract_reconcile-0.10.1rc562.dist-info/METADATA,sha256=VrB_xQ8Nba1GTb6EMQSHBQaNYm9G9xzbvEfMhrQlx_M,2349
|
688
|
+
qontract_reconcile-0.10.1rc562.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
689
|
+
qontract_reconcile-0.10.1rc562.dist-info/entry_points.txt,sha256=rTjAv28I_CHLM8ID3OPqMI_suoQ9s7tFbim4aYjn9kk,376
|
690
|
+
qontract_reconcile-0.10.1rc562.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
691
|
+
qontract_reconcile-0.10.1rc562.dist-info/RECORD,,
|
reconcile/utils/oc.py
CHANGED
@@ -289,6 +289,10 @@ class aws_s3_bucket_acl(Resource):
|
|
289
289
|
pass
|
290
290
|
|
291
291
|
|
292
|
+
class aws_s3_bucket_logging(Resource):
|
293
|
+
pass
|
294
|
+
|
295
|
+
|
292
296
|
class aws_cloudfront_log_delivery_canonical_user_id(Data):
|
293
297
|
pass
|
294
298
|
|
@@ -1926,6 +1930,21 @@ class TerrascriptClient: # pylint: disable=too-many-public-methods
|
|
1926
1930
|
if cors_rules:
|
1927
1931
|
# common_values['cors_rules'] is a list of cors_rules
|
1928
1932
|
values["cors_rule"] = cors_rules
|
1933
|
+
# S3 Bucket Logging
|
1934
|
+
s3_bucket_logging = common_values.get("s3_bucket_logging")
|
1935
|
+
if s3_bucket_logging:
|
1936
|
+
target_bucket_name = s3_bucket_logging.get("target_bucket_name")
|
1937
|
+
logging_identifier = f"{identifier}-logging"
|
1938
|
+
|
1939
|
+
logging_values = {
|
1940
|
+
"bucket": "${aws_s3_bucket." + identifier + ".id}",
|
1941
|
+
"target_bucket": "${aws_s3_bucket." + target_bucket_name + ".id}",
|
1942
|
+
"target_prefix": s3_bucket_logging.get("target_prefix", ""),
|
1943
|
+
}
|
1944
|
+
logging_tf_resource = aws_s3_bucket_logging(
|
1945
|
+
logging_identifier, **logging_values
|
1946
|
+
)
|
1947
|
+
tf_resources.append(logging_tf_resource)
|
1929
1948
|
deps = []
|
1930
1949
|
replication_configs = common_values.get("replication_configurations")
|
1931
1950
|
if replication_configs:
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc560.dist-info → qontract_reconcile-0.10.1rc562.dist-info}/top_level.txt
RENAMED
File without changes
|