def deploy()

in auth_service/auth_setup.py [0:0]


def deploy(stack_name, core_stack_name):
  params = {'CoreStack':core_stack_name}
  
  # Explicitly acknowledge that we are creating IAM roles
  capabilities=['CAPABILITY_IAM']

  action = cf_util.create_or_update_stack(stack_name, template_file_path, params, capabilities)
  if action == 'create':
    print("Stack created")
    __set_attribute_map(stack_name) # Set attribute map through Boto as 'set-principal-tag-attribute-map' operation is not yet in CloudFormation
    print("User attributes mapped")
  elif action == 'update': print("Stack updated")
  elif action == 'none': print("No changes")