Azure / Azure/Azure-DataFactory

ADF artifact doesn't contain the global parameters per enviroment

Open
#490 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
529
Forks
623
PR merge metrics
No merged PRs in 30d

Description

Hello,

I'm following the [Global Parameters](https://learn.microsoft.com/en-us/azure/data-factory/author-global-parameters#deploying-using-powershell) documentation. Specifically the CI/CD deployment with PowerShell. I need to deploy in a new environment with different global params values but in the documentation, it is not clear where I have to save the copy of the global parameters files with the values of the other environment. I need the artifact with two global parameters files like the documentation shows:
image

But when the process creates the artifact I only can see the parameters of one environment:
image

I save a copy of the new environment global parameters (JSON file) in the factory folder:
image

I tried with and without the arm-template-parameters-definition.json file. Also in ADF I marked the included global parameters in ARM template:

image

It is not clear to me what am I doing wrong. Am I saving the new environments JSON file in the wrong folder? The structure of the JSON file is the same as the original one but with different values.

I'm not using the new mechanism since I have a lot of global parameters in ADF. I need to use the old mechanism with PowerShell.

Thanks for your help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.