mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 01:25:16 +00:00
30 lines
766 B
JSON
30 lines
766 B
JSON
{
|
|
"variables": {
|
|
"aws_access_key": "",
|
|
"aws_secret_key": "",
|
|
"redash_version": "0.7.1.b1015",
|
|
"image_version": "071b1015"
|
|
},
|
|
"builders": [
|
|
{
|
|
"name": "redash-eu-west-1",
|
|
"type": "amazon-ebs",
|
|
"access_key": "{{user `aws_access_key`}}",
|
|
"secret_key": "{{user `aws_secret_key`}}",
|
|
"region": "eu-west-1",
|
|
"source_ami": "ami-20cc9d57",
|
|
"instance_type": "t2.micro",
|
|
"ssh_username": "ubuntu",
|
|
"ami_name": "redash-{{user `image_version`}}-eu-west-1"
|
|
}
|
|
],
|
|
"provisioners": [
|
|
{
|
|
"type": "shell",
|
|
"script": "bootstrap.sh",
|
|
"execute_command": "{{ .Vars }} sudo -E -S bash '{{ .Path }}'",
|
|
"environment_vars": ["REDASH_VERSION={{user `redash_version`}}"]
|
|
}
|
|
]
|
|
}
|