Skip to content

Commit

Permalink
Fixed res group for azapi
Browse files Browse the repository at this point in the history
  • Loading branch information
luisjodiez committed Dec 26, 2023
1 parent 3c10435 commit 8e90bd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssh.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ resource "azapi_resource_action" "ssh_public_key_gen" {
resource "azapi_resource" "ssh_public_key" {
type = "Microsoft.Compute/sshPublicKeys@2022-11-01"
name = random_pet.ssh_key_name.id
location = azurerm_resource_group.rg.location
parent_id = azurerm_resource_group.rg.id
location = azurerm_resource_group.linux-vm-rg.location
parent_id = azurerm_resource_group.linux-vm-rg.id
}

output "key_data" {
Expand Down

0 comments on commit 8e90bd4

Please sign in to comment.