mirror of
https://github.com/opentofu/opentofu.git
synced 2025-12-18 15:46:08 -05:00
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:
parent
a72ff37dd2
commit
e8d1bb6882
3 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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%"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue