mirror of https://github.com/dapr/samples.git
				
				
				
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			469 B
		
	
	
	
		
			Bicep
		
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			469 B
		
	
	
	
		
			Bicep
		
	
	
	
targetScope = 'subscription'
 | 
						|
 | 
						|
param rgName string = 'twitterDemo2'
 | 
						|
param location string = 'eastus'
 | 
						|
 | 
						|
resource rg 'Microsoft.Resources/resourceGroups@2020-06-01' = {
 | 
						|
  name: rgName
 | 
						|
  location: location
 | 
						|
}
 | 
						|
 | 
						|
module twitterDemo './twitterDemo2.bicep' = {
 | 
						|
  name: 'twitterDemo2'
 | 
						|
  scope: resourceGroup(rg.name)
 | 
						|
}
 | 
						|
 | 
						|
output cognitiveServiceKey string = twitterDemo.outputs.cognitiveServiceKey
 | 
						|
output cognitiveServiceEndpoint string = twitterDemo.outputs.cognitiveServiceEndpoint |