Small tweaks on the guidelines and the scripts for testing the azure backend (#3603)

Signed-off-by: Andrei Ciobanu <andrei.ciobanu@opentofu.org>
This commit is contained in:
Andrei Ciobanu 2025-12-18 08:58:33 +02:00 committed by GitHub
parent a72ff37dd2
commit e8d1bb6882
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ $ GOOS=linux GOARCH=amd64 go test -c .
This will generate an `azure.test` file. Send this to your VM:
```bash
$ scp azure.test azureadmin@xxx.xxx.xxx.xxx:
$ scp azure.test azureadmin@xxx.xxx.xxx.xxx:/home/azureadmin
```
Now, SSH into your VM:

View file

@ -66,7 +66,7 @@ resource "azurerm_kubernetes_cluster" "main" {
default_node_pool {
name = "agentpool"
vm_size = "Standard_D2_v2"
vm_size = "standard_d8_v3" // if it doesn't work, try "Standard_D2_v2". This is dependent on the availability in the Azure account.
node_count = 1
upgrade_settings {
max_surge = "10%"

View file

@ -15,7 +15,7 @@ resource "azuread_service_principal" "tf_principal" {
# Role assignment, so that this can do anything in our tests.
resource "azurerm_role_assignment" "account_admin" {
scope = "/subscriptions/${data.azurerm_client_config.current.subscription_id}"
role_definition_name = "Storage Account Contributor"
role_definition_name = "Contributor"
principal_id = azuread_service_principal.tf_principal.object_id
}