Changed Name of Container Group

This commit is contained in:
Daniel Scholl 2022-06-29 20:15:29 +00:00
Родитель 5a7c3f19f8
Коммит 5b427d6fa6
1 изменённых файлов: 2 добавлений и 4 удалений

Просмотреть файл

@ -218,7 +218,6 @@ resource createTemplateSpecVersion 'Microsoft.Resources/templateSpecs/versions@2
'parameters': { 'parameters': {
'endpoint': { 'endpoint': {
'type': 'string' 'type': 'string'
'defaultValue': 'myosdu.mydomain.com'
'metadata': { 'metadata': {
'description': 'OSDU API Endpoint (FQDN)' 'description': 'OSDU API Endpoint (FQDN)'
} }
@ -272,12 +271,12 @@ resource createTemplateSpecVersion 'Microsoft.Resources/templateSpecs/versions@2
{ {
'type': 'Microsoft.ContainerInstance/containerGroups' 'type': 'Microsoft.ContainerInstance/containerGroups'
'apiVersion': '2021-09-01' 'apiVersion': '2021-09-01'
'name': '[concat(\'data-load-\', parameters(\'name\'))]' 'name': '[concat(\'osdu-data-load-\', parameters(\'endpoint\'))]'
'location': '[parameters(\'location\')]' 'location': '[parameters(\'location\')]'
'properties': { 'properties': {
'containers': [ 'containers': [
{ {
'name': 'deploy' 'name': 'load'
'properties': { 'properties': {
'image': '[concat(variables(\'acrName\'), \'.azurecr.io/\', variables(\'imageName\'))]' 'image': '[concat(variables(\'acrName\'), \'.azurecr.io/\', variables(\'imageName\'))]'
'command': [ ] 'command': [ ]
@ -358,5 +357,4 @@ resource createTemplateSpecVersion 'Microsoft.Resources/templateSpecs/versions@2
} }
} }
output scriptLogs string = reference('${uploadDeploymentScript.id}/logs/default', uploadDeploymentScript.apiVersion, 'Full').properties.log output scriptLogs string = reference('${uploadDeploymentScript.id}/logs/default', uploadDeploymentScript.apiVersion, 'Full').properties.log