Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Add resource provider registration resource #394

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions caf_solution/landingzone.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ module "solution" {
tfstates = var.tfstates
user_type = var.user_type
webapp = local.webapp
resource_provider_registration = var.resource_provider_registration

diagnostics = {
diagnostics_definition = local.diagnostics.diagnostics_definition
Expand Down
3 changes: 2 additions & 1 deletion caf_solution/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ provider "azuread" {
}

provider "azurerm" {
partner_id = "ca4078f8-9bc4-471b-ab5b-3af6b86a42c8"
partner_id = "ca4078f8-9bc4-471b-ab5b-3af6b86a42c8"
skip_provider_registration = true
# partner identifier for CAF Terraform landing zones.
features {
api_management {
Expand Down
3 changes: 3 additions & 0 deletions caf_solution/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -245,3 +245,6 @@ variable "propagate_launchpad_identities" {
variable "random_strings" {
default = {}
}
variable "resource_provider_registration" {
default = {}
}