Created
April 29, 2025 09:21
-
-
Save weeyin83/65d3b9484ef5b6b97d28f8b964f59052 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "azurerm_netapp_account" "example" { | |
name = "example-netapp-account" | |
location = azurerm_resource_group.example.location | |
resource_group_name = azurerm_resource_group.example.name | |
} | |
resource "azurerm_netapp_pool" "example" { | |
name = "example-netapp-pool" | |
location = azurerm_resource_group.example.location | |
resource_group_name = azurerm_resource_group.example.name | |
account_name = azurerm_netapp_account.example.name | |
service_level = "Premium" | |
size_in_tb = 4 | |
depends_on = [azurerm_netapp_account.example] | |
} | |
resource "azurerm_netapp_volume" "example" { | |
name = "example-netapp-volume" | |
location = azurerm_resource_group.example.location | |
resource_group_name = azurerm_resource_group.example.name | |
account_name = azurerm_netapp_account.example.name | |
pool_name = azurerm_netapp_pool.example.name | |
volume_path = "examplevolume" | |
service_level = "Premium" | |
subnet_id = azurerm_subnet.example.id | |
protocol = "NFSv4.1" | |
depends_on = [ | |
azurerm_netapp_account.example, | |
azurerm_netapp_pool.example | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment