Skip to content

InvalidParameterException: An error occurred (InvalidParameterException) when calling the DescribeImages operation: Invalid parameter at 'imageTag' failed to satisfy constraint: 'must satisfy regular expression '[a-zA-Z0-9-_.]+ #99

@srossross

Description

@srossross

I'm new to forge and trying it out for the first time. I'm getting this error when running forge deploy:

forge --version
forge 0.3.17
forge deploy --dry-run
║ 15 tasks run, 1 errors
║   None: unexpected error
║     
║     Traceback (most recent call last):
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/cli.py", line 330, in root
║         service.go(name)
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/cli.py", line 323, in service
║         goal(svc)
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/cli.py", line 494, in <lambda>
║         forge.execute(lambda svc: forge.deploy(*forge.build(svc)))
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/cli.py", line 259, in build
║         self.bake(service)
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/cli.py", line 218, in bake
║         raw = list(cull(lambda c: not self.docker.exists(c.image, c.version), service.containers))
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/tasks.py", line 321, in cull
║         execs.append((task.go(obj), obj))
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/tasks.py", line 304, in applicator
║         return obj(*args, **kwargs)
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/cli.py", line 218, in <lambda>
║         raw = list(cull(lambda c: not self.docker.exists(c.image, c.version), service.containers))
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/docker.py", line 39, in exists
║         return self.remote_exists(name, version) or self.local_exists(name, version)
║       File "/Users/srossross/.pex/install/Forge-0.3.17-py2-none-any.whl.0fdff23604e35d291a0fb190a10d5cd1f9a15845/Forge-0.3.17-py2-none-any.whl/forge/docker.py", line 291, in remote_exists
║         imageIds=[{'imageTag': version}])
║       File "/Users/srossross/.pex/install/botocore-1.7.36-py2.py3-none-any.whl.e62f85f5a0ca8aa5a8463cb3a05c85cd337b6ff6/botocore-1.7.36-py2.py3-none-any.whl/botocore/client.py", line 312, in _api_call
║         return self._make_api_call(operation_name, kwargs)
║       File "/Users/srossross/.pex/install/botocore-1.7.36-py2.py3-none-any.whl.e62f85f5a0ca8aa5a8463cb3a05c85cd337b6ff6/botocore-1.7.36-py2.py3-none-any.whl/botocore/client.py", line 605, in _make_api_call
║         raise error_class(parsed_response, operation_name)
║     InvalidParameterException: An error occurred (InvalidParameterException) when calling the DescribeImages operation: Invalid parameter at 'imageTag' failed to satisfy constraint: 'must satisfy regular expression '[a-zA-Z0-9-_.]+''

git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions