Skip to content
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

Merged

Conversation

cmaf
Copy link
Contributor

@cmaf cmaf commented Feb 16, 2024

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)

@@ -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"
Copy link
Contributor

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

Suggested change
replication_regions = "eastus2"
replication_regions = ["eastus2", "westeurope"]

Copy link
Contributor Author

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>
Copy link
Contributor

@mkulke mkulke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Member

@bpradipt bpradipt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
Thanks @cmaf

@mkulke mkulke merged commit 339ad59 into confidential-containers:main Feb 20, 2024
3 checks passed
@cmaf
Copy link
Contributor Author

cmaf commented Feb 20, 2024

@bpradipt @mkulke how quickly does this take effect? Is it the nightly build?

@mkulke
Copy link
Contributor

mkulke commented Feb 20, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants