Skip to content

Unable to run terraform apply #5

Description

@mrpmorris

Can you help? I am unable to get the first example in chapter 6 to work :(

C:\temp\Bootstrapping-Microservices\chapter-6\example-1\scripts>terraform apply
│ Warning: Version constraints inside provider configuration blocks are deprecated

│ on providers.tf line 4, in provider "azurerm":
│ 4: version = "1.38.0"

│ Terraform 0.13 and earlier allowed provider version constraints inside the provider configuration block, but that is
│ now deprecated and will be removed in a future version of Terraform. To silence this warning, move the provider
│ version constraint into the required_providers block.


│ Error: Error building AzureRM Client: Error populating Client ID from the Azure CLI: No Authorization Tokens were found - please ensure the Azure CLI is installed and then log-in with az login.

│ with provider["registry.terraform.io/hashicorp/azurerm"],
│ on providers.tf line 3, in provider "azurerm":
│ 3: provider "azurerm" {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions