beispiel Terraform code für vm und cluster afc hinzugefügt

This commit is contained in:
cbazza committed 2025-12-23 10:19:14 +01:00
1 parent dfff276de6
commit 09f485b5ac
26 files changed
+6998

No files matched your search

@@ -0,0 +1,65 @@
variable "resource_group_name" {
description = "Name of the resource group"
type = string
default = "rg-trusted-ai-demo"
}
variable "location" {
description = "Azure region for resources"
type = string
default = "austriaeast"
}
variable "tags" {
description = "Tags to apply to all resources"
type = map(string)
default = {
Environment = "dev"
Project = "trusted-ai-demo"
ManagedBy = "OpenTofu"
}
}
# Network Configuration
variable "vnet_address_space" {
description = "Address space for the virtual network"
type = string
default = "10.0.0.0/16"
}
variable "subnet_address_prefix" {
description = "Address prefix for the subnet"
type = string
default = "10.0.1.0/24"
}
variable "allowed_ssh_source" {
description = "Source IP address or range allowed to SSH to the VM (use your public IP or '*' for any - not recommended)"
type = string
default = "*"
}
# Virtual Machine Configuration
variable "vm_name" {
description = "Name of the virtual machine"
type = string
default = "vm-trusted-ai"
}
variable "vm_size" {
description = "Size of the virtual machine"
type = string
default = "Standard_B2s"
}
variable "admin_username" {
description = "Admin username for the virtual machine"
type = string
default = "azureadmin"
}
variable "admin_password" {
description = "Admin password for the virtual machine (use strong password, min 12 characters)"
type = string
sensitive = true
}