Skip to content

Commit

Permalink
Merge pull request #69 from aaroniscode/fix_ami_names
Browse files Browse the repository at this point in the history
fix AMI names for CAPI AMI image build
  • Loading branch information
k8s-ci-robot authored Oct 8, 2019
2 parents 42e4361 + d844051 commit 0fb540f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/capi/packer/ami/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"owners": ["099720109477"],
"most_recent": true
},
"ami_name": "capa-ami-ubuntu-18.04-{{user `kubernetes_deb_version`}}-{{user `build_timestamp`}}",
"ami_name": "capa-ami-ubuntu-18.04-{{user `kubernetes_deb_version` | clean_resource_name}}-{{user `build_timestamp`}}",
"ami_groups": "{{user `ami_groups`}}",
"ami_users": "{{user `ami_users`}}",
"snapshot_groups": "{{user `snapshot_groups`}}",
Expand Down Expand Up @@ -93,7 +93,7 @@
"owners": ["410186602215"],
"most_recent": true
},
"ami_name": "capa-ami-centos-7-{{user `kubernetes_deb_version`}}-{{user `build_timestamp`}}",
"ami_name": "capa-ami-centos-7-{{user `kubernetes_deb_version` | clean_resource_name}}-{{user `build_timestamp`}}",
"ami_groups": "{{user `ami_groups`}}",
"ami_users": "{{user `ami_users`}}",
"snapshot_groups": "{{user `snapshot_groups`}}",
Expand Down Expand Up @@ -134,7 +134,7 @@
"owners": ["amazon"],
"most_recent": true
},
"ami_name": "capa-ami-amazon-2-{{user `kubernetes_deb_version`}}-{{user `build_timestamp`}}",
"ami_name": "capa-ami-amazon-2-{{user `kubernetes_deb_version` | clean_resource_name}}-{{user `build_timestamp`}}",
"ami_groups": "{{user `ami_groups`}}",
"ami_users": "{{user `ami_users`}}",
"snapshot_groups": "{{user `snapshot_groups`}}",
Expand Down

0 comments on commit 0fb540f

Please sign in to comment.