cdklabs / cdklabs/cdk-docker-image-deployment

Feature Request: Reuse Infrastructure that Supports CodeBuild (lambdas, iam roles, provider, custom resource)

Open
#29 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
88
Forks
15
Avg merge
7m
Merged PRs (30d)
30

Description

Each time the construct is instantiated, a custom resource, provider, 2 lambdas, and all of their roles are partitioned. Is there a way to reuse some of these resources? This may allow these resources to be pre-created and stored in a separate stack that is then referenced as a dependency.

- An option to use a pre-existing provider, lambdas, and roles that can be fed into a custom resource unique to each construct
- would there be an issue granting permissions to run CodeBuild API calls to those pre-existing roles (I do not think so)
- An option to use any combination of those pre-existing resources
- for example: pass in the lambdas, but need roles and provider and custom resource created

Thank you @fjinkis for bringing up this request!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.