potential ci/cd process in the works
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
resource "azurerm_data_factory" "factory" {
|
||||
name = var.data_factory_name
|
||||
location = var.location
|
||||
resource_group_name = var.resource_group_name
|
||||
}
|
||||
|
||||
# TODO: Set up linked services and datasets
|
||||
# resource "azurerm_data_factory_linked_service_data_lake_storage_gen2" "ls_container_storage" {
|
||||
# name = "ls_container_storage"
|
||||
# data_factory_id = azurerm_data_factory.factory.id
|
||||
# url = var.storage_account_url
|
||||
|
||||
# }
|
||||
@@ -0,0 +1,30 @@
|
||||
variable "resource_group_name" {
|
||||
description = "Resource Group to create resources in"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "location" {
|
||||
description = "Azure region"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "environment" {
|
||||
description = "Environment tag (dev/prod)"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "project" {
|
||||
description = "Project tag"
|
||||
type = string
|
||||
default = "TerraformBootcamp"
|
||||
}
|
||||
|
||||
variable "storage_account_url" {
|
||||
description = "URL of the storage account to link to data factory"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "data_factory_name" {
|
||||
description = "The unique name of the data factory"
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user