diff --git a/cloudbender/stack.py b/cloudbender/stack.py index 966de34..4e65b0b 100644 --- a/cloudbender/stack.py +++ b/cloudbender/stack.py @@ -8,7 +8,6 @@ import pathlib import pprint import pulumi import importlib -import pkg_resources from datetime import datetime, timedelta from dateutil.tz import tzutc @@ -1321,7 +1320,7 @@ class Stack(object): opts=self.pulumi_ws_opts, ) pulumi_stack.workspace.install_plugin( - "aws", pkg_resources.get_distribution("pulumi_aws").version + "aws", importlib.metadata.distribution("pulumi_aws").version ) else: