Closed aryanbhosale closed 2 months ago
Hi @peterdudfield , why does it show that a terraform test failed? any idea? is it my code or something else?
Hi @peterdudfield , why does it show that a terraform test failed? any idea? is it my code or something else?
No dont worry about that, that'll be something else. I imagine it got cancelled manually
Hi @peterdudfield , why does it show that a terraform test failed? any idea? is it my code or something else?
No dont worry about that, that'll be something else. I imagine it got cancelled manually
Oh okay, thank you
Hi @peterdudfield , #530 is the fix for this, could you please review this? Thank you
Describe the bug
ocf-infrastructure is currently using the deprecated '''datetime.utcnow()''' from the
datetime
python library. It would be good to use a timezone-aware function that'll work forpython3.11^
and won't change the current functionalityPossible implementation
One possible modification would be
datetime.now(tz=timezone.utc)
where timezone is imported from datetime