Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avinor/terraform-azuread-application

Terraform module to create an application in Azure AD.
https://github.com/avinor/terraform-azuread-application

azure terraform terraform-module

Last synced: 3 months ago
JSON representation

Terraform module to create an application in Azure AD.

Awesome Lists containing this project

README

        

# AzureAD Application

A general module to create an Azure AD application and optionally assign it roles. It will create a service principal associated with the application and create a password for application.

## Requirements

- Requires access to Azure AD to create application.
- **Owner** required when assigning roles using *assignments* variable

## Usage

```terraform
module "simple" {
source = "avinor/application/azuread"
version = "3.0.2"

name = "simple"
}
```

Assigning roles for application:

```terraform
module "simple" {
source = "avinor/application/azuread"
version = "3.0.2"

name = "simple"
redirect_uris = ["https://simple.example.com/"]
end_date = "2022-01-01T01:02:03Z"

assignments = [
{
scope = "/subscriptions/xxxx"
role_definition_name = "Contributor"
}
]
}
```

## Assignments

Usign the `assignments` variable it can assign role access to various resources. This will require Owner access to those subscriptions / resources though.