-
Create IAM Service Principle w/ necessary permissions and secret key https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_secret#creating-a-service-principal-using-the-azure-cli
-
Create Azure Key Vault and Secrets. Give read permissions to the service principle created in above step. https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/key_vault_secret
- vmadminpw = "Pa$$word!"
- vpnsharedkey = "Pa$$word!"
- gatewayaddress = "onpremgatewayaddress" ## ex) "93.2.43.42"
-
Add environment variables to GitLab CI/CD https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_secret#configuring-the-service-principal-in-terraform
-
Clone repository an edit subnets to fit your environment.
-
Configure on-premise vpn device and verify connectivity.
-
Notifications
You must be signed in to change notification settings - Fork 0
kennethcarnes/azure-vpn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This repository uses GitLab CI/CD and Terraform to deploy Azure resources for connecting an on-premises network through a VPN appliance.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published