Skip to content

Commit b060404

Browse files
committed
format
1 parent 2e13896 commit b060404

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/azure-netapp-files/manage-availability-zone-volume-placement.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ The populate availability zone features requires a `zone` property on the volume
102102
103103
1. Navigate to the Terraform module `terraform.tfstate`. The `"zone"` property should be an empty string.
104104
1. In the Terraform-managed volume's configuration file (`main.tf`), locate the lifecycle configuration block. Modify the block with `ignore_changes = [zone]`. If no lifecycle configuration block exists, add it:
105-
```cli
106-
lifecycle {
107-
ignore_changes = [zone]
108-
}
109-
```
105+
```
106+
lifecycle {
107+
ignore_changes = [zone]
108+
}
109+
```
110110
1. In the Azure portal, locate the Terraform module. In the volume **Overview**, select **Populate availability zone** and make note of the availability zone. Do _not_ select save.
111111
112-
:::image type="content" source="../media/azure-netapp-files/populate-availability-zone.png" alt-text="Screenshot of the Populate Availability Zone menu." lightbox="../media/azure-netapp-files/populate-availability-zone.png":::
113-
112+
:::image type="content" source="../media/azure-netapp-files/populate-availability-zone.png" alt-text="Screenshot of the Populate Availability Zone menu." lightbox="../media/azure-netapp-files/populate-availability-zone.png":::
113+
114114
1. In the volume's configuration file (`main.tf`), add a value for `zone`, entering the numerical value you retrieved in the previous step. For example, if the volume's availability zone is 2, enter `zone = 2`. Save the file.
115115
1. Return to the Azure portal. Select **Save** to populate the availability zone.
116116
1. Run `terraform plan` to confirm that no changes will be made to your volume. The CLI output should display: `No changes. Your infrastructure matches the configuration.`

0 commit comments

Comments
 (0)