Add synapse 201
This commit is contained in:
@ -1,10 +1,4 @@
|
||||
locals {
|
||||
tags = {
|
||||
Toolkit = "Terraform"
|
||||
}
|
||||
|
||||
safe_name = replace(var.name, "-", "")
|
||||
safe_environment = replace(var.environment, "-", "")
|
||||
|
||||
basename = "${var.name}-${var.environment}"
|
||||
safe_basename = replace(local.basename, "-", "")
|
||||
}
|
@ -19,6 +19,4 @@ data "http" "ip" {
|
||||
resource "azurerm_resource_group" "default" {
|
||||
name = "rg-${local.basename}"
|
||||
location = var.location
|
||||
|
||||
tags = local.tags
|
||||
}
|
@ -1,13 +1,11 @@
|
||||
resource "azurerm_storage_account" "default" {
|
||||
name = "st${local.safe_name}${local.safe_environment}"
|
||||
name = "st${local.safe_basename}"
|
||||
resource_group_name = azurerm_resource_group.default.name
|
||||
location = azurerm_resource_group.default.location
|
||||
account_tier = "Standard"
|
||||
account_replication_type = "LRS"
|
||||
account_kind = "StorageV2"
|
||||
is_hns_enabled = true
|
||||
|
||||
tags = local.tags
|
||||
}
|
||||
|
||||
resource "azurerm_role_assignment" "sbdc_current_user" {
|
||||
|
@ -9,8 +9,6 @@ resource "azurerm_synapse_workspace" "default" {
|
||||
|
||||
managed_resource_group_name = "${azurerm_resource_group.default.name}-syn-managed"
|
||||
|
||||
public_network_access_enabled = true
|
||||
|
||||
aad_admin {
|
||||
login = var.aad_login.name
|
||||
object_id = var.aad_login.object_id
|
||||
@ -20,8 +18,6 @@ resource "azurerm_synapse_workspace" "default" {
|
||||
identity {
|
||||
type = "SystemAssigned"
|
||||
}
|
||||
|
||||
tags = local.tags
|
||||
}
|
||||
|
||||
resource "azurerm_synapse_firewall_rule" "allow_my_ip" {
|
||||
|
Reference in New Issue
Block a user