Skip to content

Instantly share code, notes, and snippets.

@xximjasonxx
Created July 4, 2021 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xximjasonxx/a5a45ee8e91fb4f6a51814e41ee93dfb to your computer and use it in GitHub Desktop.
Save xximjasonxx/a5a45ee8e91fb4f6a51814e41ee93dfb to your computer and use it in GitHub Desktop.
# create private endpoint
module "private_storage" {
source = "./modules/networking/private_endpoint"
depends_on = [
module.storage_subnet,
module.storage_account
]
name = "private-storage"
rg_name = azurerm_resource_group.rg.name
rg_location = azurerm_resource_group.rg.location
subnet_id = module.storage_subnet.subnet_id
resource_id = module.storage_account.account_id
subresource_names = [ "blob" ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment