|
@@ -5,8 +5,6 @@
|
|
|
{% endraw -%}
|
|
|
"region" : "{{ cookiecutter.aws_region }}",
|
|
|
{% raw -%}
|
|
|
- "aws_access_key" : "{{ env `AWS_ACCESS_KEY_ID` }}",
|
|
|
- "aws_secret_key" : "{{ env `AWS_SECRET_ACCESS_KEY` }}"
|
|
|
},
|
|
|
"provisioners": [
|
|
|
{
|
|
@@ -26,6 +24,9 @@
|
|
|
"builders": [
|
|
|
{
|
|
|
"type" : "amazon-ebs",
|
|
|
+ {% raw -%}
|
|
|
+ "profile" : "{{ cookiecutter.aws_profile }}",
|
|
|
+ {% endraw -%}
|
|
|
"access_key" : "{{user `aws_access_key`}}",
|
|
|
"secret_key" : "{{user `aws_secret_key`}}",
|
|
|
"region" : "{{user `region`}}",
|