Skip to content

Commit

Permalink
make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
maorfr committed Jul 9, 2024
1 parent 63ba391 commit 03b8851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reconcile/utils/terrascript_aws_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6723,7 +6723,7 @@ def populate_tf_resource_module(self, spec: ExternalResourceSpec):
values = self.init_values(spec, init_tags=False)
values.pop("identifier")

tf_resources = []
tf_resources: list[Resource] = []
self.init_common_outputs(tf_resources, spec)

module_spec = values.pop("module")
Expand All @@ -6733,7 +6733,7 @@ def populate_tf_resource_module(self, spec: ExternalResourceSpec):

self.init_gitlab()
self.init_github()
if url.startswith(self.gitlab.server):
if self.gitlab and url.startswith(self.gitlab.server):
ssl_verify = self.gitlab.ssl_verify
token = self.gitlab.token
else:
Expand Down

0 comments on commit 03b8851

Please sign in to comment.