Remove dynamic stackname

This commit is contained in:
Niklas Fondberg
2020-10-09 12:34:28 +02:00
parent 486119aab1
commit 10e981f921
Vendored
+1 -5
View File
@@ -1,19 +1,15 @@
from fabric.api import env, lcd, local, abort
def basic_environment_settings():
env.stack_name = 'api'
def staging():
basic_environment_settings()
env.environment = 'staging'
def production():
basic_environment_settings()
env.environment = 'production'
def cloudformation_update():
with lcd('./cloudformation/'):
local('make update-stack ENVIRONMENT_NAME={0} STACK_NAME={1}'.format(env.environment, env.stack_name))
local('make update-stack ENVIRONMENT_NAME={0}'.format(env.environment))
def deploy():
if env.environment != 'staging':