Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions playground/cdk/CdkSample.AppHost/appConfig.module.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ resource appConfigurationStore_xM7mBhesj 'Microsoft.AppConfiguration/configurati
name: 'standard'
}
properties: {
disableLocalAuth: true
}
}

Expand Down
1 change: 1 addition & 0 deletions playground/cdk/CdkSample.AppHost/storage.module.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ resource storageAccount_1XR3Um8QY 'Microsoft.Storage/storageAccounts@2022-09-01'
networkAcls: {
defaultAction: 'Allow'
}
minimumTlsVersion: 'TLS1_2'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static IResourceBuilder<AzureAppConfigurationResource> AddAzureAppConfigu
var configureConstruct = (ResourceModuleConstruct construct) =>
{
var store = new AppConfigurationStore(construct, name: name, skuName: "standard");
store.AssignProperty(x => x.DisableLocalAuth, "true");
store.AddOutput("appConfigEndpoint", x => x.Endpoint);
var appConfigurationDataOwnerRoleAssignemnt = store.AssignRole(RoleDefinition.AppConfigurationDataOwner);
appConfigurationDataOwnerRoleAssignemnt.AssignProperty(x => x.PrincipalId, construct.PrincipalIdParameter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,7 @@ param principalType string
name: 'standard'
}
properties: {
disableLocalAuth: true
}
}

Expand Down