Skip to content

Instantly share code, notes, and snippets.

@MarkArts
MarkArts / plink-plonk.js
Last active January 3, 2024 15:20 — forked from tomhicks/plink-plonk.js
Listen to your web pages
import * as aws from "@pulumi/aws";
import * as k8s from "@pulumi/kubernetes";
import * as pulumi from "@pulumi/pulumi";
export type SetupRoute53ZoneArgs = {
zone: aws.route53.Zone;
zoneUserKey: aws.iam.AccessKey;
namespace: string;
domain: string;
};
@MarkArts
MarkArts / tailscale.ts
Created December 10, 2024 15:59
Pulumi Tailnet subnet router example
/*
Adapted from: https://github.com/jaxxstorm/tailscale-examples/blob/main/aws/pulumi/ec2-ts-subnetrouter/index.ts
example asumming you already have a vpc with public subnets:
const tailscaleSubnetRouter = setupTailscaleSubnetRouter(
`mytailscalestuff`,
{
vpc: {
vpcId: network.vpc.id,