Skip to content

equinor/terraform-azurerm-service-bus

Repository files navigation

Azure Service Bus Terraform module

SCM Compliance Equinor Terraform Baseline Conventional Commits

Terraform module which creates Azure Service Bus resources.

Features

  • Microsoft Entra authentication enforced by default.
  • Public network access disabled by default.
  • Audit logs sent to given Log Analytics workspace by default.

Development

  1. Clone this repository:

    git clone https://github.com/equinor/terraform-azurerm-service-bus.git
  2. Login to Azure:

    az login
  3. Set environment variables:

    export ARM_SUBSCRIPTION_ID=<SUBSCRIPTION_ID>
    export TF_VAR_resource_group_name=<RESOURCE_GROUP_NAME>
    export TF_VAR_location=<LOCATION>

Testing

  1. Initialize working directory:

    terraform init
  2. Execute tests:

    terraform test

    See terraform test command documentation for options.

Contributing

See Contributing guidelines.