-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
packer: add replication region to shared image gallery #1698
packer: add replication region to shared image gallery #1698
Conversation
@@ -30,6 +30,7 @@ source "azure-arm" "ubuntu" { | |||
image_name = "${var.az_gallery_image_name}" | |||
image_version = "${var.az_gallery_image_version}" | |||
storage_account_type = "Standard_LRS" | |||
replication_regions = "eastus2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: replication_regions is an array, I think it makes sense to add eastus2 for TDX availability, we can also add westeurope
, since it supports both tdx and snp vms
replication_regions = "eastus2" | |
replication_regions = ["eastus2", "westeurope"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkulke added, thanks for the feedback!
Add eastus2 to replication regions in order to access the image from there. Signed-off-by: Chelsea Mafrica <chelsea.e.mafrica@intel.com>
22c5619
to
a046bfa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
Thanks @cmaf
yup should be replicated in the build. please note, if you plan to use it for tdx, the image might not be configured properly yet: #1703 |
Add eastus2 to replication regions in order to access the image from there.
Note: My understanding is that this will make the nightly build image available in eastus2 as well as eastus, is that the case? Per this comment from another thread #1696 (comment)