Forum Discussion

chetanhiwale's avatar
chetanhiwale
Resolver I
1 year ago
Solved

Create Data Pipeline with existing definition using Terraform

Hi Folks, I am trying to create data pipelines using Terraform where  I already have defined definition at a path. In path, the defination is in JSON format so no need to decode the defination fro...
  • v-aatheeque's avatar
    1 year ago

    Hi chetanhiwale ,
    Thanks for raising this query in Fabric Community Forum.

    Thanks for sharing the error and the context.

    The error you’re encountering could you try the below trouble shooting steps :

     

    • Ensure that the JSON file located at the specified path (${var.bronze_base_path}/datapipelines/${each.value}.DataPipeline/pipeline-content.json) is valid and correctly formatted. You can use a JSON validator to check for any syntax errors. Confirm that the path to the JSON file is correct and accessible.
    •  Ensure that the Terraform process has the necessary permissions to read the file.
    • Double-check the values of " var.bronze_datapipelines " and " var.workspace_id "to ensure they are correctly defined and populated. Incorrect or empty values could lead to errors during resource creation.
    • Ensure that the fabric_data_pipeline resource configuration is correct.
    • Ensure you're using the latest version of the Microsoft Fabric provider. Older versions may not support all features or may have unresolved bugs.

    for more info prefer this blog :  Terraform Provider for Microsoft Fabric (Generally Available) | Microsoft Fabric Blog | Microsoft Fabric

    Hope this helps !!

     

    If this post was helpful, please consider marking Accept as solution to assist other members in finding it more easily.

    If you continue to face issues, feel free to reach out to us for further assistance!