Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Deployment and Operations
infra-azure-provisioning
Commits
d1b32ceb
Commit
d1b32ceb
authored
Aug 19, 2021
by
Vivek Ojha
Browse files
Merge branch 'ad-app-feature-flag' into 'master'
added feature flag for ad application See merge request
!452
parents
b036ee82
67312797
Pipeline
#59658
passed with stages
in 1 minute and 12 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
infra/templates/osdu-r3-mvp/central_resources/main.tf
View file @
d1b32ceb
...
...
@@ -302,6 +302,7 @@ module "service_principal" {
module
"ad_application"
{
count
=
var
.
enable_bring_your_own_ad_app
?
0
:
1
source
=
"../../../modules/providers/azure/ad-application"
name
=
local
.
ad_app_name
...
...
infra/templates/osdu-r3-mvp/central_resources/secrets.tf
View file @
d1b32ceb
...
...
@@ -154,8 +154,10 @@ resource "azurerm_key_vault_secret" "principal_object_id" {
// Add Application Information to KV
resource
"azurerm_key_vault_secret"
"application_id"
{
count
=
var
.
enable_bring_your_own_ad_app
?
0
:
1
name
=
"aad-client-id"
value
=
module
.
ad_application
.
id
value
=
var
.
enable_bring_your_own_ad_app
?
""
:
module
.
ad_application
.
id
key_vault_id
=
module
.
keyvault
.
keyvault_id
}
...
...
infra/templates/osdu-r3-mvp/central_resources/variables.tf
View file @
d1b32ceb
...
...
@@ -40,6 +40,12 @@ variable "feature_flag" {
}
}
variable
"enable_bring_your_own_ad_app"
{
description
=
"Feature flag for BYOA"
default
=
true
type
=
bool
}
variable
"randomization_level"
{
description
=
"Number of additional random characters to include in resource names to insulate against unexpected resource name collisions."
type
=
number
...
...
Vivek Ojha
@vivekojha
mentioned in commit
26ec36b2
·
Aug 19, 2021
mentioned in commit
26ec36b2
mentioned in commit 26ec36b29fc714ecd36443645d39f6e6714d0375
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment