diff --git a/secdep.py b/secdep.py index d19b728..e735007 100755 --- a/secdep.py +++ b/secdep.py @@ -978,6 +978,7 @@ def create_node(provider, name=None, location=None, size=None, image=None, confi dr = get_corresponding_driver(provider) assert dr is not None, "Driver is not set up correctly" image = get_driver(Provider.EC2)(SECDEP_AWS_ACCESS_KEY, SECDEP_AWS_SECRET_KEY, region=region).get_image(image) + # If we could use the docker python sdk to search for docker images without the need for the docker engine to be installed on the host system, we could now validate the image's names to be downloaded # In the case of gce we need to give the sa_scopes and the ex_metadata parameters if provider == "gce": sa_scopes = [{"email": "default","scopes": ["cloud-platform"]}]