-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaz_appconfig.tf
30 lines (24 loc) · 959 Bytes
/
az_appconfig.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
resource "azurerm_app_configuration" "app_config" {
location = var.location
name = "appcnf-appelent"
resource_group_name = azurerm_resource_group.rg_shared.name
}
# resource "azurerm_app_configuration_key" "test_key" {
# configuration_store_id = azurerm_app_configuration.app_config.id
# key = "testkey"
# label = "testlabel"
# value = "testvalue"
# }
# resource "azurerm_app_configuration_feature" "test_feature" {
# configuration_store_id = azurerm_app_configuration.app_config.id
# description = "test description"
# name = "test-feature-name"
# label = "test-feature-label"
# enabled = true
# }
# output "connection_string_test" {
# value = azurerm_app_configuration.app_config.primary_read_key
# }
# output "endpoint" {
# value = azurerm_app_configuration.app_config.endpoint
# }