diff --git a/csp_billing_adapter_amazon/plugin.py b/csp_billing_adapter_amazon/plugin.py index 983fb62..2292c8e 100644 --- a/csp_billing_adapter_amazon/plugin.py +++ b/csp_billing_adapter_amazon/plugin.py @@ -48,6 +48,8 @@ def meter_billing( config: Config, dimensions: dict, timestamp: datetime, + billing_period_start: str, + billing_period_end: str, dry_run: bool ): """ diff --git a/tests/unit/test_plugin.py b/tests/unit/test_plugin.py index 25b0d60..87e5521 100644 --- a/tests/unit/test_plugin.py +++ b/tests/unit/test_plugin.py @@ -51,6 +51,8 @@ def test_meter_billing(mock_boto3, mock_get_region): config, dimensions, timestamp, + '2024-10-02T17:58:09.985794+00:00', + '2024-10-02T17:58:09.985794+00:00', dry_run=True ) @@ -74,6 +76,8 @@ def test_meter_billing_error(mock_boto3, mock_get_region): config, dimensions, timestamp, + '2024-10-02T17:58:09.985794+00:00', + '2024-10-02T17:58:09.985794+00:00', dry_run=True )