Skip to content

AST 1207 deployment definition

Create Deployment Definition

Define and create a Prefect Deployment for the first customer's ADP to Costpoint sync workflow with appropriate scheduling and configuration.

Key details:

  • Create in deployments/{customer-id}.yaml
  • Deployment naming: {customer-id}.adp-to-costpoint
  • Use work pool: default
  • Set concurrency_limit: 1 to prevent overlapping runs
  • Configure parameters:
  • customer_id: "{customer-id}"
  • workflow_name: "adp-to-costpoint"
  • source_config: {ADP-specific config}
  • destination_config: {Costpoint-specific config}
  • mapping_block_name: "{customer-id}--adp-employee-mapping"
  • Include tags: ["{customer-id}", "adp", "costpoint"]
  • Pin to specific git ref (branch/tag/commit)
  • Configure schedule based on existing PoC workflow schedule
  • See deployments/example-customer-a.yaml for reference pattern
  • Deploy using: prefect deploy -f deployments/{customer-id}.yaml