Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting azure_blob_storage_location for Data Factory Binary Dataset azure_blob_storage_location.0.container: '' expected type 'string', got unconvertible type 'map[string]interface {}', value: 'map[type:Expression value:@{dataset().Container}]' #15691

Open
brandonros opened this issue Mar 3, 2022 · 2 comments

Comments

@brandonros
Copy link
Contributor

@brandonros
Copy link
Contributor Author

trace log shows this:

{
  "id": "/subscriptions/REDACTED/resourceGroups/REDACTED/providers/Microsoft.DataFactory/factories/REDACTED/datasets/BinaryDataSourceFileDataset",
  "name": "BinaryDataSourceFileDataset",
  "type": "Microsoft.DataFactory/factories/datasets",
  "properties": {
    "linkedServiceName": {
      "referenceName": "REDACTED",
      "type": "LinkedServiceReference"
    },
    "parameters": {
      "Container": {
        "type": "String"
      },
      "Directory": {
        "type": "String"
      },
      "filename": {
        "type": "string"
      }
    },
    "annotations": [],
    "type": "Binary",
    "typeProperties": {
      "location": {
        "type": "AzureBlobStorageLocation",
        "fileName": {
          "value": "@dataset().filename",
          "type": "Expression"
        },
        "folderPath": {
          "value": "@{dataset().Directory}",
          "type": "Expression"
        },
        "container": {
          "value": "@{dataset().Container}",
          "type": "Expression"
        }
      }
    }
  },
  "etag": "0b047c68-0000-0800-0000-6207ce7f0000"
}

@brandonros
Copy link
Contributor Author

@aristosvo if you have time i believe you last touched this file. trying to import a azurerm_data_factory_dataset_binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants