Skip to content

Instantly share code, notes, and snippets.

@Shinichi-Nakagawa
Created March 20, 2025 09:32
Show Gist options
  • Select an option

  • Save Shinichi-Nakagawa/3f7bd985c89b2f515c0ec25e30bcf742 to your computer and use it in GitHub Desktop.

Select an option

Save Shinichi-Nakagawa/3f7bd985c89b2f515c0ec25e30bcf742 to your computer and use it in GitHub Desktop.
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~>3.0"
}
}
required_version = ">= 0.14.9"
}
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "uwa_rg" {
name = "uwa-rg"
location = "japaneast"
}
resource "azurerm_virtual_network" "uwa_vnet" {
name = "uwa-vnet"
address_space = ["10.0.0.0/16"]
location = azurerm_resource_group.uwa_rg.location
resource_group_name = azurerm_resource_group.uwa_rg.name
}
resource "azurerm_storage_account" "uwa_storage" {
name = "uwastorageaccount"
resource_group_name = azurerm_resource_group.uwa_rg.name
location = azurerm_resource_group.uwa_rg.location
account_tier = "Standard"
account_replication_type = "LRS"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment