This module exports a single class called HelmfileLayer
which is a lambda.LayerVersion
that
bundles the helm
and the
helmfile
command line.
- Helm Version: 3.15.3
- Helmfile Version: 0.166.0
Usage:
// HelmfileLayer bundles the 'helm' and 'helmfile' command lines
import { HelmfileLayer } from '@thkpham/lambda-layer-helmfile-v0';
import * as lambda from 'aws-cdk-lib/aws-lambda';
declare const fn: lambda.Function;
const helmfile = new HelmfileLayer(this, 'HelmfileLayer');
fn.addLayers(helmfile);
helm
will be installed under /opt/helm/helm
and helmfile
will be installed under /opt/helmfile/helmfile
.