aws-deployment-framework
aws-deployment-framework copied to clipboard
Feat/default codebuild image
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.