code: def _s3_resource(dallinger_region=False):
      
      config = get_config()
      if not config.ready:
          config.load()
  
      region = "us-east-1" if dallinger_region else config.get("aws_region")
      return boto3.resource(
          "s3",
          region_name=region,
          aws_access_key_id=config.get("aws_access_key_id"),
          aws_secret_access_key=config.get("aws_secret_access_key"),
      )
docs: A boto3 S3 resource using the AWS keys in the config.