Share via

Environment based parameters

Subashri Vasudevan 11,306 Reputation points Volunteer Moderator
2023-08-12T11:13:24.1266667+00:00

I have a pipeline with certain parameters pointing to different paths in DEV SFTP server. During design time, we can hardcode and debug\run pipeline. What i want to know is, if i promote my pipeline to QA\ Test environment, i need to know how do we make my pipeline refer to something like a config\template file to get paths corresponding to that environment

For instance, if i promote to QA, my paths will be like \qa-sftpserver\qa\folder1

if i promote to PROD, it will be like \prod-sftpserver\prod\folder1

Is there any reference to implement it? Basically looking to know more something like dtsConfig file in SSIS that supplies values to packages in run time.

Thanks.

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.


1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,631 Reputation points Microsoft Employee Moderator
    2023-08-14T17:14:11.5233333+00:00

    Hi Subashri Vasudevan,

    Thank you for posting query in Microsoft Q&A Platform.

    If we compare package in SSIS as pipeline in ADF then, the way to send some inputs to Pipeline are only via triggers. Now triggers will not contain a mechanism of reading data from files or tables. Hence, I feel sending environment details via trigger to pipeline and then in the pipeline based on environment value, trying to query config file or tables using lookup activity may helpful here.

    Please let me know how it goes. Thank you.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.