Initial Commit

This commit is contained in:
2025-02-04 19:23:56 +10:00
commit ac08902f9f
13 changed files with 809 additions and 0 deletions

48
profider.tf Normal file
View File

@ -0,0 +1,48 @@
# We strongly recommend using the required_providers block to set the
# Workplace Provider source and version being used
terraform {
required_providers {
azuread = {
source = "hashicorp/azuread"
version = "~> 2.15.0"
}
microsoft365wp = {
source = "terraprovider/microsoft365wp"
version = "0.15.1"
}
}
}
variable "client_id" {
type = string
sensitive = true
}
variable "client_secret" {
type = string
sensitive = true
}
variable "tenant_id" {
type = string
sensitive = true
}
# Configure the Azure Active Directory Provider
provider "azuread" {
client_id = var.client_id
client_secret = var.client_secret
tenant_id = var.tenant_id
}
# Configure the Workplace Provider
provider "microsoft365wp" {
client_id = var.client_id
client_secret = var.client_secret
tenant_id = var.tenant_id
}