We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to deploy a Lambda function in a StackSet using cdk-stacksets?
I've tried using both aws_lambda.Code.from_inline and aws_lambda.Code.from_asset to create a Lambda function:
aws_lambda.Code.from_inline
aws_lambda.Code.from_asset
func = aws_lambda.Function( scope, "MyFunction", function_name="my_function", ... code=aws_lambda.Code.from_inline(lambda_code), )
But I'm getting this error:
RuntimeError: StackSets cannot use Assets
Is there any way around it using CDK? Or do I first need to upload the Lambda function to an S3 bucket?
The text was updated successfully, but these errors were encountered:
What version are you on? Asset support was added in v0.0.120
Sorry, something went wrong.
No branches or pull requests
Is there a way to deploy a Lambda function in a StackSet using cdk-stacksets?
I've tried using both
aws_lambda.Code.from_inline
andaws_lambda.Code.from_asset
to create a Lambda function:But I'm getting this error:
Is there any way around it using CDK? Or do I first need to upload the Lambda function to an S3 bucket?
The text was updated successfully, but these errors were encountered: