Hello

Packer build doesn't create a resource group in Azure the first time
why you expect it will delete/create with force in the second time?


if you you do packer build -force will only overwrite the existing VM.

If you want to delete/create a clean ResourceGroup, you can use terraform
for that.

Alvaro.

On Wed, Aug 8, 2018 at 6:15 PM Mumtaz Khan <tigerdec...@gmail.com> wrote:

> Hi
> I am using packer 1.2.5 . I am using a powershell job in VSTS and manually
> running packer build.
>
> packer build -force doesn't delete existing resource group for target
> managed image. Is there a known issue . also doesn't export manifest.json
> in output.
>
>
>
>
>
> <https://lh3.googleusercontent.com/-GSuKlaHmoa0/W2sI-T5s-qI/AAAAAAAAI1I/ZeYPbwVZOvElyJ5RT9VPDMAr52-ntTR-wCLcBGAs/s1600/Capture.JPG>
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to packer-tool+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/7b7e08a5-070a-43e1-9301-2e81310a4257%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/7b7e08a5-070a-43e1-9301-2e81310a4257%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to packer-tool+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0ewp9qjMZsrgWK3Pmw-Fu8Xo%2Bhsmpgu2%2B__KQcksrvnBJA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to