Commit b1fdae8
When storage_profile_blob_driver_enabled is true, the AKS Blob CSI driver
may automatically add a Microsoft.Storage service endpoint to the subnet
out-of-band, causing Terraform state drift. This adds a check block that
warns users to proactively declare the service endpoint on their subnet.
The check block uses a conditional data.azurerm_subnet lookup and only
triggers when storage_profile_enabled, storage_profile_blob_driver_enabled
are both true and vnet_subnet is provided. It produces a warning (not an
error), so it is non-breaking.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent cd23d4e commit b1fdae8
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
738 | 753 | | |
739 | 754 | | |
740 | 755 | | |
| |||
0 commit comments