Skip to content

Build and publish AMI in different regions

Adrien Kohlbecker requested to merge ak/region-copy into main

Closes #6 (closed)

  • Move the image build to us-east-2 because mac availability is better there. We still want to publish the AMI in us-east-1 because that's where our production infrastructure is located. Use the built-in cross-region copy function of packer to do that (ami_regions)
  • Because the pipeline now works in different regions, we should avoid implicit region selection by AWS_DEFAULT_REGION and instead explicitly state which region to use
  • Create a single source of truth for region values (gitlab-ci yaml + packer vars => gitlab ci yaml)
Edited by Adrien Kohlbecker

Merge request reports

Loading