code: def get_cloudformation_client(service_name, environment_name):
      
      region = service_registry.service_region(service_name)
  
      if whereami() == 'ec2':
          profile = None
      else:
          profile = get_account_alias(environment_name)
  
      clients = create_aws_clients(region, profile, 'cloudformation')
      return clients['cloudformation']
docs: Given a service name and an environment name, return a boto CloudFormation
      client object.