Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Commit fb5d15c

Browse files
authored
Merge pull request #57 from aartek/issue-55
#55 replaced deprecated packer functions
2 parents 9efedb4 + 66bafa5 commit fb5d15c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/couchbase-ami/couchbase.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"builders": [{
99
"name": "ubuntu-ami",
10-
"ami_name": "{{user `base_ami_name`}}-ubuntu-example-{{isotime | clean_ami_name}}",
10+
"ami_name": "{{user `base_ami_name`}}-ubuntu-example-{{isotime | clean_resource_name}}",
1111
"ami_description": "An Ubuntu 16.04 AMI that has Couchbase installed.",
1212
"instance_type": "t2.micro",
1313
"region": "{{user `aws_region`}}",
@@ -26,7 +26,7 @@
2626
"ssh_username": "ubuntu"
2727
},{
2828
"name": "ubuntu-18-ami",
29-
"ami_name": "{{user `base_ami_name`}}-ubuntu-18-example-{{isotime | clean_ami_name}}",
29+
"ami_name": "{{user `base_ami_name`}}-ubuntu-18-example-{{isotime | clean_resource_name}}",
3030
"ami_description": "An Ubuntu 18.04 AMI that has Couchbase installed.",
3131
"instance_type": "t2.micro",
3232
"region": "{{user `aws_region`}}",
@@ -45,7 +45,7 @@
4545
"ssh_username": "ubuntu"
4646
},{
4747
"name": "amazon-linux-ami",
48-
"ami_name": "{{user `base_ami_name`}}-amazon-linux-example-{{isotime | clean_ami_name}}",
48+
"ami_name": "{{user `base_ami_name`}}-amazon-linux-example-{{isotime | clean_resource_name}}",
4949
"ami_description": "An Amazon Linux 2 AMI that has Couchbase installed.",
5050
"instance_type": "t2.micro",
5151
"region": "{{user `aws_region`}}",

0 commit comments

Comments
 (0)