Skip to content

Commit

Permalink
Merge pull request #109 from tomaszwostal/configure-batch
Browse files Browse the repository at this point in the history
Configure batch without testing
  • Loading branch information
sergenyalcin authored Jan 10, 2023
2 parents 328ecc4 + d433c36 commit c0dbf3b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config/externalnamenottested.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,24 @@ var ExternalNameNotTestedConfigs = map[string]config.ExternalName{
// /subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/resourceGroup1/providers/Microsoft.AppConfiguration/configurationStores/appConf1/AppConfigurationKey/appConfKey1/Label/%00
"azurerm_app_configuration_key": config.IdentifierFromProvider,

// batch
//
// Batch Account can be imported using the resource id
// /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Batch/batchAccounts/account1
"azurerm_batch_account": config.TemplatedStringAsIdentifier("name", "/subscriptions/{{ .setup.configuration.subscription_id }}/resourceGroups/{{ .parameters.resource_group_name }}/providers/Microsoft.Batch/batchAccounts/{{ .external_name }}"),
// Batch Application can be imported using the resource id
// /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Batch/batchAccounts/exampleba/applications/example-batch-application
"azurerm_batch_application": config.TemplatedStringAsIdentifier("name", "/subscriptions/{{ .setup.configuration.subscription_id }}/resourceGroups/{{ .parameters.resource_group_name }}/providers/Microsoft.Batch/batchAccounts/{{ .parameters.account_name }}/applications/{{ .external_name }}"),
// Batch Certificate can be imported using the resource id
// /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Batch/batchAccounts/batch1/certificates/certificate1
"azurerm_batch_certificate": config.IdentifierFromProvider,
// Batch Pool can be imported using the resource id
// /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myGroup1/providers/Microsoft.Batch/batchAccounts/myBatchAccount1/pools/myBatchPool1
"azurerm_batch_pool": config.TemplatedStringAsIdentifier("name", "/subscriptions/{{ .setup.configuration.subscription_id }}/resourceGroups/{{ .parameters.resource_group_name }}/providers/Microsoft.Batch/batchAccounts/{{ .parameters.account_name }}/pools/{{ .external_name }}"),
// Batch job can be imported using the resource id
// /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.Batch/batchAccounts/account1/pools/pool1/jobs/job1
"azurerm_batch_job": config.TemplatedStringAsIdentifier("name", "/subscriptions/{{ .setup.configuration.subscription_id }}/resourceGroups/{{ .parameters.resource_group_name }}/providers/Microsoft.Batch/batchAccounts/{{ .parameters.account_name }}/pools/{{ .parameters.batch_pool_name }}/jobs/{{ .external_name }}"),

// appplatform
//
// /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.AppPlatform/spring/service1/apps/app1
Expand Down

0 comments on commit c0dbf3b

Please sign in to comment.