let part1 = "Just another"; let part2 = " Kusto hacker"; print result = strcat(part1, part2)
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 |
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_resource_group" "example" { | |
name = "rg-example" | |
location = "UK South" | |
} | |
resource "azurerm_virtual_network" "example" { | |
name = "networking" | |
resource_group_name = azurerm_resource_group.example.name | |
location = azurerm_resource_group.example.location | |
address_space = ["10.0.0.0/16"] |
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
trigger: | |
- main | |
pool: | |
vmImage: ubuntu-latest | |
steps: | |
- task: AzureCLI@2 | |
name: RunTerraform | |
inputs: | |
azureSubscription: INSERT NAME OF YOUR SERVICE CONNECTION # The name of your service connection goes here | |
scriptType: bash |
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
terraform { | |
required_providers { | |
azurerm = { | |
source = "hashicorp/azurerm" | |
version = ">=4.14.0" | |
} | |
} | |
} | |
provider "azurerm" { | |
features {} |
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
module "avm-res-azurestackhci-cluster" { | |
source = "Azure/avm-res-azurestackhci-cluster/azurerm" | |
version = "0.12.0" |
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
module "storage_account" { | |
source = "./modules/storage-account" | |
storage_account_name = "mystorageaccount" | |
resource_group_name = "my-resource-group" | |
location = "East US" | |
account_tier = "Standard" | |
account_replication_type = "LRS" | |
tags = { | |
environment = "dev" | |
project = "example-project" |
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
output "storage_account_name" { | |
value = azurerm_storage_account.example.name | |
} | |
output "primary_blob_endpoint" { | |
value = azurerm_storage_account.example.primary_blob_endpoint | |
} |
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
variable "storage_account_name" { | |
description = "The name of the storage account." | |
type = string | |
} | |
variable "resource_group_name" { | |
description = "The name of the resource group." | |
type = string | |
} | |
variable "location" { | |
description = "The Azure region where the storage account will be created." |
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_storage_account" "example" { | |
name = var.storage_account_name | |
resource_group_name = var.resource_group_name | |
location = var.location | |
account_tier = var.account_tier | |
account_replication_type = var.account_replication_type | |
tags = var.tags | |
} |
NewerOlder