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

Allow for encrypted multi-region, cross account use #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fred-vogt-dod
Copy link

@fred-vogt-dod fred-vogt-dod commented Sep 24, 2022

Build from an outside network (3rd party CI Vendor)

packer build \
  -var-file=al2_x86_64.pkrvars.hcl \
  -var 'eks_version=1.xx' \
  -var 'ssh_interface=public_ip' \
  -var 'temporary_security_group_source_public_ip=true' \
  -var 'aws_region=us-east-1' \
  -var 'subnet_id=subnet-...' \
  -var 'encrypt_boot=true' \
  -var 'region_kms_key_ids={"us-east-1": "arn:aws:kms:us-east-1:<account>:key/<key-id>", "us-west-2": "arn:aws:kms:us-west-2:<account>:key/<key-id>"}' \
  -var 'ami_regions=["us-east-1", "us-west-2"]' \
  -var 'ami_org_arns=["arn:aws:organizations::<account>:organization/<org-id>"]' \
  .

Build from a local system with VPN access

packer build \
  -var-file=al2_x86_64.pkrvars.hcl \
  -var 'eks_version=1.xx' \
  -var 'ssh_interface=private_ip' \
  -var 'aws_region=us-east-1' \
  -var 'subnet_id=subnet-...' \
  -var 'encrypt_boot=true' \
  -var 'region_kms_key_ids={"us-east-1": "arn:aws:kms:us-east-1:<account>:key/<key-id>", "us-west-2": "arn:aws:kms:us-west-2:<account>:key/<key-id>"}' \
  -var 'ami_regions=["us-east-1", "us-west-2"]' \
  -var 'ami_org_arns=["arn:aws:organizations::<account>:organization/<org-id>"]' \
  .

@fred-vogt-dod fred-vogt-dod force-pushed the updated-amazon-ebs-builder-settings-01 branch from 92edbdb to 913385c Compare September 24, 2022 22:12
@fred-vogt-dod fred-vogt-dod changed the title Updated amazon-ebs builder variables and settings Allow for encrypted multi-region, cross account use Sep 24, 2022
@fred-vogt-dod fred-vogt-dod force-pushed the updated-amazon-ebs-builder-settings-01 branch 3 times, most recently from 3cc040a to 2d6c8c6 Compare September 25, 2022 22:34
@fred-vogt-dod fred-vogt-dod force-pushed the updated-amazon-ebs-builder-settings-01 branch from 2d6c8c6 to 93d760a Compare May 12, 2023 22:50
@fred-vogt-dod fred-vogt-dod marked this pull request as ready for review May 16, 2023 22:15
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.

1 participant