diff --git a/src/jobs/update_lambda_function.yml b/src/jobs/update_lambda_function.yml index f4ce070..7dfc3bb 100644 --- a/src/jobs/update_lambda_function.yml +++ b/src/jobs/update_lambda_function.yml @@ -90,6 +90,23 @@ parameters: type: string default: "${CIRCLE_WORKFLOW_JOB_ID}" + deploy_markers_component_name: + description: > + The component name shown in the CircleCI Deploys UI. Defaults to the + Lambda function name. Override when the Deploys component name differs + from the function name. + type: string + default: "" + + deploy_markers_environment_name: + description: > + The target environment name shown in the CircleCI Deploys UI (e.g. production, staging). + Defaults to the qualifier parameter value when set, since Lambda aliases are + the standard way to represent environments. Falls back to the deploys orb + default of 'default' when neither is set. + type: string + default: "" + deploy_markers_target_version: description: > Version identifier shown in the CircleCI Deploys UI. @@ -113,8 +130,13 @@ steps: steps: - deploys/plan: deploy_name: <> - component_name: <> + component_name: >- + <<# parameters.deploy_markers_component_name>><><> + <<^ parameters.deploy_markers_component_name>><><> target_version: <> + environment_name: >- + <<# parameters.deploy_markers_environment_name>><><> + <<^ parameters.deploy_markers_environment_name>><><> - when: condition: @@ -145,7 +167,9 @@ steps: equal: [<>, "LOG"] steps: - deploys/log: - component_name: <> + component_name: >- + <<# parameters.deploy_markers_component_name>><><> + <<^ parameters.deploy_markers_component_name>><><> target_version: <> - when: