aws-deployment-framework icon indicating copy to clipboard operation
aws-deployment-framework copied to clipboard

Feat/default codebuild image

Open danxie1999 opened this issue 8 months ago • 0 comments

Why?

Now in the deployment map, if the codebuild image does not explicitly defined in the deployment map, the deployment will fail. I would like to add define a default build image for the ADF.

What?

An easy fix is to define the default build image in the src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/cdk/cdk_constructs/adf_codebuild.py and set the build stage to optional in the src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/schema_validation.py.

Additionally, account_id should also be optional in the schema validation, as ADF 4.0 supports default source account id.

danxie1999 avatar Feb 24 '25 06:02 danxie1999