Groups
Sign in
Groups
Packer
Conversations
About
Send feedback
Help
packer-plugin-azure does not remove the datadisk after image creation
15 views
Skip to first unread message
John Trump
unread,
Mar 2, 2023, 12:59:12 PM
3/2/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Packer
packer-plugin-azure does not remove the datadisk after image creation.
Scenario:
Building image in an existing azure resource group
Adding 200GB datadisk which is automatically named with prefix pkrdd, then a random string and ending with -1. For example - ( pkrdd327zb3txgw-1 )
After image creation and cleanup the temporary vm, nic, osdisk, etc. are removed but the datadisk remains.
How can the randomly named temporary datadisk be deleted?
Mike Schinkel
unread,
Mar 2, 2023, 3:35:53 PM
3/2/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Packer
Can you share your packer script (with any sensitive information redacted, of course?)
Reply all
Reply to author
Forward
0 new messages