Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidParameterException when using plugin with fargate #57

Open
Rainson12 opened this issue Sep 24, 2020 · 1 comment
Open

InvalidParameterException when using plugin with fargate #57

Rainson12 opened this issue Sep 24, 2020 · 1 comment

Comments

@Rainson12
Copy link

We have an issue when running the plugin. We always get the exception "InvalidParameterException" although all parameters have been specified. The Task definition will be created by a cloud formation script and therefore must not be created by the plugin. However we still get the InvalidParameterException and we can not figure out how to fix it.
This is our config:

- name: dev:fargate:deploy
   image: pelotech/drone-ecs
   settings:
    region: us-east-1
    family: IndiAuthTaskDefinition
    docker_image: xxxx.dkr.ecr.us-east-1.amazonaws.com/xxxxx-backend
    tag: latest
    service: IndiauthService
    cluster: IndiauthCluster
    container_name: IndiauthContainerDefinition
    deployment_configuration: 50 200
    access_key:
        from_secret: DEV_AWS_ACCESS_KEY_ID
    secret_key:
      from_secret: DEV_AWS_SECRET_ACCESS_KEY
    
@jtallinger
Copy link
Contributor

I faced similar issue with "InvalidParameterException" and it was not easy to trace down, in the end I found the error by looking through the API calls in AWS console (Cloudtrail). In my case it was due to service was setup with bridge network and I tried to deploy the task with awsvpc. Error was not in the plugin, but in the AWS end rejecting the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants