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

Setting IMPOSTER_PLUGIN_DIR in AWS Begets '<directory> is not a valid directory' #624

Open
daniel-klingensmith-jamf opened this issue Sep 13, 2024 · 2 comments
Labels

Comments

@daniel-klingensmith-jamf

In CDK:

'IMPOSTER_PLUGIN_DIR': `s3://imposter/3.35.2/plugins`

In CloudWatch logs:

2024-09-06 17:49:00  WARN  i.g.i.u.ClassLoaderUtil - Path s3:/imposter/3.35.2/plugins is not a valid directory

I've attempted the same with underscores instead of periods for the version (3_35_2) with the same result.

Is this directory understood by Imposter to be relative to the IMPOSTER_CONFIG_DIR value?

@outofcoffee
Copy link
Owner

Hi @daniel-klingensmith-jamf, thanks for raising this.

Presently there's no support for external plugin storage, such as S3 or a URL. The pattern for using plugins is to bundle them into the deployable (e.g. Lambda ZIP or container image), or, to use the 'imposter-all' distribution which includes (pretty much) all plugins.

Here's some info on bundling: https://docs.imposter.sh/bundle/

@daniel-klingensmith-jamf
Copy link
Author

daniel-klingensmith-jamf commented Sep 20, 2024

Thanks for the clarity! You may want to add more to the Environment Variables docs page to prevent others from the same mistake.

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

No branches or pull requests

2 participants