Tag: AWS

  • Terraform Best Practices: Environment Specific Resource Changes

    When managing infrastructure with Terraform, it’s common to have multiple environments such as development (dev), staging, and production (prod). Each environment usually requires slightly different configurations, for example enabling resilience features in production while keeping development simple and cost efficient. A common mistake teams make is to dynamically control resource behavior based on the current…

  • AWS EventBridge Rule for S3 Uploads

    Below EventBridge rule will be triggered based on the following conditions: You can test the invitation by setting a Lambda function as the target and printing the `event`.

  • Customize GitHub Actions OIDC Claim for AWS IAM Authentication

    OIDC subject claim GitHub Actions OIDC token contains useful claims that you can check in Understanding the OIDC token. But AWS only supports what’s included in sub claim and cannot use any other claims in the token. Example subject claims such as branch, pull_request, and environment. The default subject claim is very limited and if…