File tree Expand file tree Collapse file tree 4 files changed +73
-0
lines changed
uami-blueprint-user-principal Expand file tree Collapse file tree 4 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ terraform {
2
+ required_version = " >= 0.13"
3
+ required_providers {
4
+ azurerm = {
5
+ source = " hashicorp/azurerm"
6
+ version = " 2.12.0"
7
+ }
8
+ random = {
9
+ source = " hashicorp/random"
10
+ version = " 2.2.1"
11
+ }
12
+ azuread = {
13
+ source = " hashicorp/azuread"
14
+ version = " 0.9.0"
15
+ }
16
+ }
17
+ }
18
+
1
19
resource "azuread_application" "meshcloud_idp_lookup" {
2
20
name = " idplookup.${ var . spp_name_suffix } "
3
21
Original file line number Diff line number Diff line change
1
+ terraform {
2
+ required_version = " >= 0.13"
3
+ required_providers {
4
+ azurerm = {
5
+ source = " hashicorp/azurerm"
6
+ version = " 2.12.0"
7
+ }
8
+ random = {
9
+ source = " hashicorp/random"
10
+ version = " 2.2.1"
11
+ }
12
+ azuread = {
13
+ source = " hashicorp/azuread"
14
+ version = " 0.9.0"
15
+ }
16
+ }
17
+ }
18
+
1
19
# At this point, we would have liked to use a custom role for the following reasons:
2
20
# - permissions are explicitedly stated and can easily be fine tuned in the future
3
21
# - we are independent of changes to Built-In Roles by Microsoft
Original file line number Diff line number Diff line change
1
+
2
+ terraform {
3
+ required_version = " >= 0.13"
4
+ required_providers {
5
+ azurerm = {
6
+ source = " hashicorp/azurerm"
7
+ version = " 2.12.0"
8
+ }
9
+ random = {
10
+ source = " hashicorp/random"
11
+ version = " 2.2.1"
12
+ }
13
+ azuread = {
14
+ source = " hashicorp/azuread"
15
+ version = " 0.9.0"
16
+ }
17
+ }
18
+ }
19
+
1
20
resource "azurerm_role_definition" "meshcloud_replicator" {
2
21
name = " replicator.${ var . spp_name_suffix } "
3
22
scope = var. scope
Original file line number Diff line number Diff line change
1
+ terraform {
2
+ required_version = " >= 0.13"
3
+ required_providers {
4
+ azurerm = {
5
+ source = " hashicorp/azurerm"
6
+ version = " 2.12.0"
7
+ }
8
+ random = {
9
+ source = " hashicorp/random"
10
+ version = " 2.2.1"
11
+ }
12
+ azuread = {
13
+ source = " hashicorp/azuread"
14
+ version = " 0.9.0"
15
+ }
16
+ }
17
+ }
18
+
1
19
resource "azuread_application" "uami_blueprint_principal" {
2
20
name = " uami-blueprint.${ var . spp_name_suffix } "
3
21
}
You can’t perform that action at this time.
0 commit comments