P. Bai

Endpoints, networks, and cloud

Sixteen years of company IT across eleven offices in Asia Pacific. Projects and writing, for people considering working with me.

set -euo pipefail

pkgbuild \
  --root "$stage" \
  --identifier "$bundle_id" \
  --version "$version" \
  "$build/component.pkg"

productbuild \
  --package "$build/component.pkg" \
  --sign "$installer_cert" \
  "$out/$name-$version.pkg"

xcrun notarytool submit \
  "$out/$name-$version.pkg" \
  --keychain-profile "$profile" --wait

xcrun stapler staple \
  "$out/$name-$version.pkg"

Projects

active

Author

  • Terraform
  • AWS S3
  • AWS KMS
  • GitHub Actions

terraform-aws-backend-bootstrap

A reference Terraform project for a hardened S3 remote backend: KMS-encrypted versioned state, environments isolated by separate AWS accounts rather than workspaces, and S3 native locking instead of a DynamoDB lock table.

View project

Writing

Contact