Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appvia Banner

Terraform Registry Latest Release Slack Community Contributors

Github Actions

Terraform Partner Admin Link

Description

Links an Azure Partner ID (MPN ID) to a tenant via the Microsoft Partner Admin Link (PAL) mechanism, so Microsoft can attribute the resources deployed in the tenant to the partner for usage and co-sell credit.

Does not delete the resource on destroy by default, as this is a destructive operation that will remove the partner association from the tenant. If you want to delete the resource on destroy, set delete_on_destroy to true, then perform an apply, followed by a destroy.

Usage

module "partner_admin_link" {
  source  = "appvia/partner-admin-link/azurerm"
  version = "0.0.1"
}

Examples

See the examples directory for working usage examples.

  • Basic - A basic example of how to use this module.

Providers

Name Version
azapi ~> 2.11

Modules

No modules.

Resources

Name Type
azapi_resource_action.management_partner_create resource
azapi_resource_action.management_partner_delete resource
azapi_resource_action.management_partner_patch resource

Inputs

Name Description Type Default Required
delete_on_destroy If true, the Management Partner resource will be deleted when the Terraform resource is destroyed.
If false, the Management Partner resource will remain in place after the Terraform resource is destroyed.

Note: to delete the management partner you must set this to true and run terraform apply before terraform destroy.
bool false no
partner_id The Microsoft Partner Network (MPN) ID to link to the subscription. Defaults to Appvia's MPN ID (6098754).

Note: Do not use unknown values here. Input the partner ID as a literal that is known at plan time.
number 6098754 no

Outputs

Name Description
partner_name The name of the partner associated with the tenant.
status The status of the partner association with the tenant.

Contributing

Contributions are welcome. Please read the Code of Conduct before contributing.

License

This project is licensed under the terms of the GPL-3.0 license.

About

Terraform module to manage partner admin link for a tenant

Resources

Code of conduct

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages