I am Facing this issue while building my packer file. Basically this happens while publishing an image to shared image gallery. I am using packer version 1.7.0.
my packer file looks like
“shared_image_gallery_timeout”: “2h30m2s”,
"shared_image_gallery_destination": {
"resource_group": "rg-devops-playground",
"gallery_name": "my_SharedImageGallery",
"image_name": "TestDevImage",
"image_version": "0915.2903.2021",
"replication_regions": "West Europe"
},