add init_container
to azurerm_container_group
resource.
#16204
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
An enhancement as #8085 described.
Two acc tests failed, but they also failed on the main branch, and since these two cases involved no volume at all, I think the failure is irrelevant to this pr.
=== RUN TestAccContainerGroup_SystemAssignedIdentity
=== PAUSE TestAccContainerGroup_SystemAssignedIdentity
=== CONT TestAccContainerGroup_SystemAssignedIdentity
--- PASS: TestAccContainerGroup_SystemAssignedIdentity (254.60s)
=== RUN TestAccContainerGroup_SystemAssignedIdentityNoNetwork
=== PAUSE TestAccContainerGroup_SystemAssignedIdentityNoNetwork
=== CONT TestAccContainerGroup_SystemAssignedIdentityNoNetwork
--- PASS: TestAccContainerGroup_SystemAssignedIdentityNoNetwork (189.04s)
=== RUN TestAccContainerGroup_UserAssignedIdentity
=== PAUSE TestAccContainerGroup_UserAssignedIdentity
=== CONT TestAccContainerGroup_UserAssignedIdentity
--- PASS: TestAccContainerGroup_UserAssignedIdentity (192.73s)
=== RUN TestAccContainerGroup_multipleAssignedIdentities
=== PAUSE TestAccContainerGroup_multipleAssignedIdentities
=== CONT TestAccContainerGroup_multipleAssignedIdentities
--- PASS: TestAccContainerGroup_multipleAssignedIdentities (261.77s)
=== RUN TestAccContainerGroup_imageRegistryCredentials
=== PAUSE TestAccContainerGroup_imageRegistryCredentials
=== CONT TestAccContainerGroup_imageRegistryCredentials
--- PASS: TestAccContainerGroup_imageRegistryCredentials (198.96s)
=== RUN TestAccContainerGroup_imageRegistryCredentialsUpdate
=== PAUSE TestAccContainerGroup_imageRegistryCredentialsUpdate
=== CONT TestAccContainerGroup_imageRegistryCredentialsUpdate
--- PASS: TestAccContainerGroup_imageRegistryCredentialsUpdate (294.66s)
=== RUN TestAccContainerGroup_logTypeUnset
=== PAUSE TestAccContainerGroup_logTypeUnset
=== CONT TestAccContainerGroup_logTypeUnset
--- PASS: TestAccContainerGroup_logTypeUnset (257.66s)
=== RUN TestAccContainerGroup_linuxBasic
=== PAUSE TestAccContainerGroup_linuxBasic
=== CONT TestAccContainerGroup_linuxBasic
--- PASS: TestAccContainerGroup_linuxBasic (236.79s)
=== RUN TestAccContainerGroup_exposedPort
=== PAUSE TestAccContainerGroup_exposedPort
=== CONT TestAccContainerGroup_exposedPort
--- PASS: TestAccContainerGroup_exposedPort (234.27s)
=== RUN TestAccContainerGroup_requiresImport
=== PAUSE TestAccContainerGroup_requiresImport
=== CONT TestAccContainerGroup_requiresImport
--- PASS: TestAccContainerGroup_requiresImport (267.85s)
=== RUN TestAccContainerGroup_linuxBasicUpdate
=== PAUSE TestAccContainerGroup_linuxBasicUpdate
=== CONT TestAccContainerGroup_linuxBasicUpdate
--- PASS: TestAccContainerGroup_linuxBasicUpdate (345.89s)
=== RUN TestAccContainerGroup_exposedPortUpdate
=== PAUSE TestAccContainerGroup_exposedPortUpdate
=== CONT TestAccContainerGroup_exposedPortUpdate
--- PASS: TestAccContainerGroup_exposedPortUpdate (343.57s)
=== RUN TestAccContainerGroup_linuxBasicTagsUpdate
=== PAUSE TestAccContainerGroup_linuxBasicTagsUpdate
=== CONT TestAccContainerGroup_linuxBasicTagsUpdate
--- PASS: TestAccContainerGroup_linuxBasicTagsUpdate (245.83s)
=== RUN TestAccContainerGroup_linuxComplete
=== PAUSE TestAccContainerGroup_linuxComplete
=== CONT TestAccContainerGroup_linuxComplete
--- PASS: TestAccContainerGroup_linuxComplete (1109.05s)
=== RUN TestAccContainerGroup_virtualNetwork
=== PAUSE TestAccContainerGroup_virtualNetwork
=== CONT TestAccContainerGroup_virtualNetwork
--- PASS: TestAccContainerGroup_virtualNetwork (601.34s)
=== RUN TestAccContainerGroup_virtualNetworkParallel
=== PAUSE TestAccContainerGroup_virtualNetworkParallel
=== CONT TestAccContainerGroup_virtualNetworkParallel
=== CONT TestAccContainerGroup_virtualNetworkParallel
testcase.go:110: Step 1/1 error: Error running apply: exit status 1
--- FAIL: TestAccContainerGroup_virtualNetworkParallel (1985.03s)
=== RUN TestAccContainerGroup_SystemAssignedIdentityVirtualNetwork
=== PAUSE TestAccContainerGroup_SystemAssignedIdentityVirtualNetwork
=== CONT TestAccContainerGroup_SystemAssignedIdentityVirtualNetwork
--- PASS: TestAccContainerGroup_SystemAssignedIdentityVirtualNetwork (557.03s)
=== RUN TestAccContainerGroup_windowsBasic
=== PAUSE TestAccContainerGroup_windowsBasic
=== CONT TestAccContainerGroup_windowsBasic
--- PASS: TestAccContainerGroup_windowsBasic (850.83s)
=== RUN TestAccContainerGroup_windowsComplete
=== PAUSE TestAccContainerGroup_windowsComplete
=== CONT TestAccContainerGroup_windowsComplete
--- PASS: TestAccContainerGroup_windowsComplete (1102.55s)
=== RUN TestAccContainerGroup_withPrivateEmpty
=== PAUSE TestAccContainerGroup_withPrivateEmpty
=== CONT TestAccContainerGroup_withPrivateEmpty
--- PASS: TestAccContainerGroup_withPrivateEmpty (237.46s)
=== RUN TestAccContainerGroup_gitRepoVolume
=== PAUSE TestAccContainerGroup_gitRepoVolume
=== CONT TestAccContainerGroup_gitRepoVolume
=== CONT TestAccContainerGroup_gitRepoVolume
testcase.go:110: Step 1/2 error: Error running apply: exit status 1
--- FAIL: TestAccContainerGroup_gitRepoVolume (1983.19s)
=== RUN TestAccContainerGroup_emptyDirVolume
=== PAUSE TestAccContainerGroup_emptyDirVolume
=== CONT TestAccContainerGroup_emptyDirVolume
--- PASS: TestAccContainerGroup_emptyDirVolume (250.14s)
=== RUN TestAccContainerGroup_emptyDirVolumeShared
=== PAUSE TestAccContainerGroup_emptyDirVolumeShared
=== CONT TestAccContainerGroup_emptyDirVolumeShared
--- PASS: TestAccContainerGroup_emptyDirVolumeShared (248.67s)
=== RUN TestAccContainerGroup_emptyDirVolumeSharedWithInitContainer
=== PAUSE TestAccContainerGroup_emptyDirVolumeSharedWithInitContainer
=== CONT TestAccContainerGroup_emptyDirVolumeSharedWithInitContainer
--- PASS: TestAccContainerGroup_emptyDirVolumeSharedWithInitContainer (251.73s)
=== RUN TestAccContainerGroup_withInitContainer
=== PAUSE TestAccContainerGroup_withInitContainer
=== CONT TestAccContainerGroup_withInitContainer
--- PASS: TestAccContainerGroup_withInitContainer (242.59s)
=== RUN TestAccContainerGroup_secretVolume
=== PAUSE TestAccContainerGroup_secretVolume
=== CONT TestAccContainerGroup_secretVolume
--- PASS: TestAccContainerGroup_secretVolume (248.69s)
FAIL