This commit is contained in:
nitram 2019-01-18 15:15:42 -08:00
parent a1fc28ebe4
commit 2fab8d1b4a
No known key found for this signature in database
GPG key ID: 2352C35346C5D534

View file

@ -62,6 +62,8 @@ plan_misc:
stage: plan stage: plan
only: only:
- /^misc_.*/ - /^misc_.*/
except:
- /^misc_v.*/
script: script:
- (echo -n "$V3_PK" > terraform/modules/tor/v3.pk) - (echo -n "$V3_PK" > terraform/modules/tor/v3.pk)
- (echo -n "$V3_PUBK" > terraform/modules/tor/v3.pubk) - (echo -n "$V3_PUBK" > terraform/modules/tor/v3.pubk)
@ -132,7 +134,7 @@ deploy_misc:
- (cd terraform - (cd terraform
&& terraform init -input=false && terraform init -input=false
&& terraform workspace select misc && terraform workspace select misc
&& terraform plan && terraform apply
-var "region=$REGION" -var "region=$REGION"
-var "zone=$ZONE" -var "zone=$ZONE"
-var "tor_instance_type=$TOR_INSTANCE_TYPE" -var "tor_instance_type=$TOR_INSTANCE_TYPE"