Skip to content

Subscription Information im provider.tf block #1

Description

@MatthiasCloudOptimizer

Servus,

ich vermisse die Azure Subscription ID in Terraform?

Meiner Erfahrung nach, sollte die Subscription ID per default als Information hinterlegen werden, da diese eine andere sein, kann als die genutzte az login Subscription ID.

provider.tf

provider "azurerm" {
  features {}
  subscription_id = var.subscription_id
}

variables.tf

variable "subscription_id" {
 description = "Target Azure Subscription ID"
  type = string
}

Was meinst du?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions