File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ terraform {
2+ required_version = " ~> 1.3"
3+
4+ required_providers {
5+ azurerm = {
6+ source = " hashicorp/azurerm"
7+ version = " ~> 3.48"
8+ }
9+ }
10+ backend "azurerm" {}
11+ }
12+
13+ provider "azurerm" {
14+ features {}
15+ }
16+
17+ data "azuread_application" "registration" {
18+ display_name = var. app_registration_name
19+ }
Original file line number Diff line number Diff line change 1+ output "application_object_id" {
2+ value = data. azuread_application . registration . object_id
3+ }
4+
5+ output "application_client_id" {
6+ value = data. azuread_application . registration . client_id
7+ }
Original file line number Diff line number Diff line change 1+ variable "app_registration_name" {
2+ type = string
3+ description = " The name of the app registration"
4+ }
You can’t perform that action at this time.
0 commit comments