Terraform module which creates Azure Service Bus resources.
- Microsoft Entra authentication enforced by default.
- Public network access disabled by default.
- Audit logs sent to given Log Analytics workspace by default.
-
Clone this repository:
git clone https://github.com/equinor/terraform-azurerm-service-bus.git
-
Login to Azure:
az login
-
Set environment variables:
export ARM_SUBSCRIPTION_ID=<SUBSCRIPTION_ID> export TF_VAR_resource_group_name=<RESOURCE_GROUP_NAME> export TF_VAR_location=<LOCATION>
-
Initialize working directory:
terraform init
-
Execute tests:
terraform test
See
terraform test
command documentation for options.