Using custom_ami doesnt need android_version
This commit is contained in:
parent
55012f9ac0
commit
67a0935fc5
|
@ -1,7 +1,6 @@
|
|||
[
|
||||
{
|
||||
"region": "eu-west-1",
|
||||
"android_version": "6.0",
|
||||
"instance": "t2.small",
|
||||
"AMI": "ami-68d78411"
|
||||
},
|
||||
|
|
|
@ -56,6 +56,12 @@ function prepare_geny_aws() {
|
|||
echo $instance
|
||||
echo $ami
|
||||
|
||||
#TODO: remove this dirty hack (this version will be ignored anyway!)
|
||||
if [[ $android_version == null ]]; then
|
||||
echo "[HACK] Version cannot be empty! version will be added!"
|
||||
android_version="6.0"
|
||||
fi
|
||||
|
||||
aws_tf_content=$(cat <<_EOF
|
||||
variable "aws_region_$index" {
|
||||
type = "string"
|
||||
|
|
Loading…
Reference in a new issue