Skip to content

Commit 13ec928

Browse files
committed
Set ami_groups = "" so AMI are not public
1 parent e43ec6d commit 13ec928

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

images/capi/packer/ami/flatcar-arm64.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"ami_filter_arch": "arm64",
33
"ami_filter_name": "Flatcar*{{env `FLATCAR_CHANNEL`}}*{{env `FLATCAR_VERSION`}}*",
44
"ami_filter_owners": "075585003325",
5+
"ami_groups": "",
56
"ansible_extra_vars": "ansible_python_interpreter=/opt/bin/python",
67
"arch": "arm64",
78
"build_name": "flatcar-{{env `FLATCAR_CHANNEL`}}",
@@ -17,6 +18,7 @@
1718
"kubernetes_source_type": "http",
1819
"python_path": "/opt/bin/builder-env/site-packages",
1920
"root_device_name": "/dev/xvda",
21+
"snapshot_groups": "",
2022
"ssh_username": "core",
2123
"systemd_prefix": "/etc/systemd",
2224
"sysusr_prefix": "/opt",

images/capi/packer/ami/flatcar.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"ami_filter_arch": "x86_64",
33
"ami_filter_name": "Flatcar*{{env `FLATCAR_CHANNEL`}}*{{env `FLATCAR_VERSION`}}*",
44
"ami_filter_owners": "075585003325",
5+
"ami_groups": "",
56
"ami_regions": "eu-west-3,eu-west-2,eu-west-1,ca-central-1,eu-central-1,us-east-1,us-east-2,us-west-1,us-west-2,ap-southeast-2",
67
"ansible_extra_vars": "ansible_python_interpreter=/opt/bin/python",
78
"arch": "amd64",
@@ -13,6 +14,7 @@
1314
"compliance_playbook": "./ansible/playbooks/noop.yml",
1415
"python_path": "/opt/bin/builder-env/site-packages",
1516
"root_device_name": "/dev/xvda",
17+
"snapshot_groups": "",
1618
"ssh_username": "core",
1719
"systemd_prefix": "/etc/systemd",
1820
"sysusr_prefix": "/opt",

0 commit comments

Comments
 (0)