Skip to content

Instantly share code, notes, and snippets.

View ispyinternet's full-sized avatar

Richard O'flynn ispyinternet

View GitHub Profile
@ispyinternet
ispyinternet / request.ts
Last active October 2, 2020 10:18
request.ts
import { pipe, fromValue, concat, map, subscribe } from 'wonka';
import { DocumentNode } from 'graphql';
import { request$, Request$ } from './request';
import { context$, Context$ } from './context';
import { source$ } from './source';
import { writable, derived, Writable, Readable } from 'svelte/store';
import { OperationContext, RequestPolicy } from '@urql/core';
export interface QueryArgs {
---
AWSTemplateFormatVersion: "2010-09-09"
Description: "Create a Lambda function that will take a comma seperated list of key=value pairs and return an array of key value pairs that can then be used in cloudformation tags resource parameter"
Resources:
LambdaExecutionRole:
Type: AWS::IAM::Role
Properties:
ManagedPolicyArns:
- arn:aws:iam::aws:policy/service-role/AWSLambdaBasicExecutionRole