Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imjoseangel/terraform-azurerm-privateendpoint
Terraform Module for deploying a Private Endpoint
https://github.com/imjoseangel/terraform-azurerm-privateendpoint
azure cloud private-endpoint terraform terraform-module
Last synced: 2 days ago
JSON representation
Terraform Module for deploying a Private Endpoint
- Host: GitHub
- URL: https://github.com/imjoseangel/terraform-azurerm-privateendpoint
- Owner: imjoseangel
- License: mit
- Created: 2022-01-26T21:02:46.000Z (almost 3 years ago)
- Default Branch: devel
- Last Pushed: 2024-05-13T04:48:14.000Z (8 months ago)
- Last Synced: 2024-05-15T20:13:55.581Z (8 months ago)
- Topics: azure, cloud, private-endpoint, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 164 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# terraform-azurerm-privateendpoint
[![Terraform](https://github.com/imjoseangel/terraform-azurerm-privateendpoint/actions/workflows/terraform.yml/badge.svg)](https://github.com/imjoseangel/terraform-azurerm-privateendpoint/actions/workflows/terraform.yml)
## Deploys a Azure Private Endpoint in a given subnet for a given component
This Terraform module deploys a Private Endpoint on Azure without DNS Private Zone.
### NOTES
* Name Convention specified as `sa. ` is calculated with `random_string` resource.
## Usage in Terraform 1.0
```terraform
data "azurerm_resource_group" "main" {
name = "network-rsg"
}data "azurerm_virtual_network" "main" {
name = "global-vnet"
resource_group_name = data.azurerm_resource_group.main.name
}data "azurerm_subnet" "main" {
name = "privateendpoint-snet"
resource_group_name = data.azurerm_resource_group.main.name
virtual_network_name = data.azurerm_virtual_network.main.name
}resource "azurerm_private_dns_zone" "main" {
name = "privatelink.blob.core.windows.net"
resource_group_name = "storage-rg"
}module "privateendpoint" {
source = "github.com/imjoseangel/terraform-azurerm-privateendpoint"
name = "mystorage"
resource_group_name = "storage-rg"
location = "westeurope"
subnet_id = data.azurerm_subnet.main.id
resource_id = azurerm_storage_account.main.id
subresource_names = ["blob", "file"]
}
```## Authors
Originally created by [imjoseangel](http://github.com/imjoseangel)
## License
[MIT](LICENSE)