Welcome on my blog

We use cookies to ensure you get the best experience on our website.

Terraform – DNS ZONE

Autor: chmajster 07.11.2023
# We strongly recommend using the required_providers block to set the
# Azure Provider source and version being used
terraform {
  required_providers {
    azurerm = {
      source  = "hashicorp/azurerm"
      version = "3.79.0"
    }
  }
}

# Configure the Microsoft Azure Provider
provider "azurerm" {
  # This is only required when the User, Service Principal, or Identity running Terraform lacks the permissions to register Azure Resource Providers.
  # skip_provider_registration = true 

  features {
  }

  # Data from : az account list --output=table
  # subscription_id = "00000000-0000-0000-0000-000000000000"
  # tenant_id       = "11111111-1111-1111-1111-111111111111"
}

data "azurerm_resource_group" "KR_RUN" {
  name = "RG-TerraformLab"
}

resource "azurerm_dns_zone" "KR_DNS" {
  name     = "LewRyczyyyyy.com"
  resource_group_name = data.azurerm_resource_group.KH_RUN.name

  # location = "West Europe"


}
Tagi:
Dodaj komentarz

Search
Categories
O Blogu

Cześć Podróżniku!

Ta strona ma nie być typowym poradnikiem w IT, Głównym jej cel to zapisanie krótkich notatek, które mogą się przydać w codziennym życiu podczas korzystania/konfiguracji różnych urządzeń np. Ustawienia DHCP na Routerze Cisco, Ustawieniu Karty sieciowej na Linuxie itp.

Buy me A coffee
[Empty]

Wszelkie prawa zastrzeżone