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

sls package failing while using proxy #35

Open
aidas-truskauskas opened this issue Jun 20, 2022 · 0 comments
Open

sls package failing while using proxy #35

aidas-truskauskas opened this issue Jun 20, 2022 · 0 comments

Comments

@aidas-truskauskas
Copy link

For accessing AWS resources, we are using proxy:

export HTTPS_PROXY="https://**********.com:8081"
export HTTP_PROXY="http://**********:8081"

Looks like the plugin does not take these Environment Variables into account since I get this error while doing sls package:

Error:
Cannot resolve serverless.yml: Variables resolution errored with:
  - Cannot resolve variable at "Glue.jobs.0.role": unable to get local issuer certificate,
  - Cannot resolve variable at "Glue.jobs.1.role": unable to get local issuer certificate,
  - Cannot resolve variable at "Glue.jobs.2.role": unable to get local issuer certificate

Once I comment out the serverless-glue parts, the sls package works successfully.
sls package also works fine when HTTPS_PROXY and HTTP_PROXY are not used

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

1 participant