9
votes

terraform init successfully initializes but gets stuck on terraform plan.

The error is related to the feature block. I'm unsure where to add the feature block:

Insufficient features blocks (source code not available) At least 1 "features" blocks are required.

My configuration looks like

terraform {
  required_version = ">= 0.11"

  backend "azurerm" {
    features {}
   }
 }

I tried removing and adding features block as github page

2

2 Answers

16
votes

When you run updated version of terraform you need to define another block defined below

provider "azurerm" { features {} }

Thanks @ SomeGuyOnAComputer

0
votes

Please check if highlighted lines are added to your template

Please check if highlighted lines are added to your template