skip to Main Content

Azure – Terraform not declaring tfvars

I am new to Terraform and I am writing a script. Following is my directory structure folder ---.terraform ---..terraform.lock.hcl ---main.tf ---terraform.tfvars ---variables.tf Following is my content on terraform.tfvars. environment = "development" Following is my content on main.tf. tags = {…

VIEW QUESTION

Why I can't create azurerm_app_service connection?

Azurerm provider version 3.35.0 Target resource azurerm_app_service_connection Terraform file write brief module "app_service" { source = "../../modules/app_service" name = var.name } resource "azurerm_app_service_connection" "serviceconnector" { name = "serviceconnector" app_service_id = module.app_service.id target_resource_id = data.azurerm_postgresql_flexible_server.db.id client_type = "django" authentication { type…

VIEW QUESTION
Back To Top
Search