“Variables may not be used here” during terraform init

  • Set backend.tf

    terraform {
      backend "azurerm" {}
    }
    
  • Create a file backend.conf

    storage_account_name = "deploymanager"
    container_name       = "terraform"
    key                  = "production.terraform.tfstate"
    
  • Run:

    terraform init -backend-config=backend.conf
    

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)