Skip to content

Instantly share code, notes, and snippets.

@mbonig
mbonig / LogicalIdMapper.ts
Created October 10, 2022 01:35
An AWS CDK LogicalId remapper aspect
import { CfnElement, CfnResource, IAspect, Stack } from 'aws-cdk-lib';
import { IConstruct } from 'constructs';
export interface IdMap {
[key: string]: string;
}
export class LogicalIdMapper implements IAspect {
constructor(private idMap: IdMap) {
}
@iann0036
iann0036 / gist:b473bbb3097c5f4c656ed3d07b4d2222
Last active January 28, 2025 16:24
List of expensive / long-term effect AWS IAM actions
route53domains:RegisterDomain
route53domains:RenewDomain
route53domains:TransferDomain
ec2:ModifyReservedInstances
ec2:PurchaseHostReservation
ec2:PurchaseReservedInstancesOffering
ec2:PurchaseScheduledInstances
rds:PurchaseReservedDBInstancesOffering
dynamodb:PurchaseReservedCapacityOfferings
s3:PutObjectRetention
@Zekfad
Zekfad / conventional-commits.md
Last active April 12, 2025 14:12
Conventional Commits Cheatsheet

Quick examples

  • feat: new feature
  • fix(scope): bug in scope
  • feat!: breaking change / feat(scope)!: rework API
  • chore(deps): update dependencies

Commit types

  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
  • ci: Changes to CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
  • chore: Changes which doesn't change source code or tests e.g. changes to the build process, auxiliary tools, libraries