Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutsen committed Dec 4, 2024
1 parent 6d79a5d commit ad82812
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions scripts/terraform-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,21 +24,19 @@ This directory contains a Bicep template that will create an Azure Storage accou

1. Create a resource group:

```console
az group create --name tfstate --location northeurope
```
```console
az group create --name tfstate --location northeurope
```

> [!NOTE]
> Requires Azure role `Contributor` at the subscription scope.
Requires Azure role `Contributor` at the subscription scope.

1. Deploy the Bicep template to the resource group:

```console
az deployment group create --resource-group tfstate --template-uri https://github.com/equinor/ops-actions/blob/main/scripts/terraform-backend/main.bicep --parameters storageAccountName=<STORAGE_ACCOUNT_NAME>
```

> [!NOTE]
> Requires Azure role `Owner` at the resource group scope.
Requires Azure role `Owner` at the resource group scope.

### Configure Terraform backend

Expand Down

0 comments on commit ad82812

Please sign in to comment.