Files
terraform-talos/azure/prepare/common.tf
2022-05-26 16:36:08 +03:00

14 lines
294 B
HCL

resource "azurerm_ssh_public_key" "terraform" {
name = "Terraform"
resource_group_name = var.resource_group
location = var.regions[0]
public_key = file("~/.ssh/terraform.pub")
tags = var.tags
lifecycle {
ignore_changes = [public_key]
}
}