Use existing resource group #10557
-
When I build my images a temporary resource group is created named pkr-Resource-Group-[some random stuff] Is there any way to create your own resource group to use instaed of the temporary? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes @code-on-git ,you can specify your own resource group when building images with Packer. By default, Packer creates a temporary resource group, but you can set the resource_group_name parameter in your Azure builder configuration to use your own resource group.
|
Beta Was this translation helpful? Give feedback.
-
builder "azure-arm" { |
Beta Was this translation helpful? Give feedback.
Yes @code-on-git ,you can specify your own resource group when building images with Packer. By default, Packer creates a temporary resource group, but you can set the resource_group_name parameter in your Azure builder configuration to use your own resource group.
Points:
Here is an example: