Fix apply: permission boundary on new Lambda roles, defer cost tags by Alexanderamiri · Pull Request #78 · javaBin/platform · GitHub
Skip to content

Fix apply: permission boundary on new Lambda roles, defer cost tags - #78

Merged
Alexanderamiri merged 1 commit into
mainfrom
fix/apply-boundary-and-tags
Mar 17, 2026
Merged

Alexanderamiri merged 1 commit into
mainfrom
fix/apply-boundary-and-tags

Conversation

@Alexanderamiri

Copy link
Copy Markdown
Member

Summary

Fixes apply failure from #77.

  • Permission boundary: budget-enforcer and resource-tagger IAM roles were missing permissions_boundary. The self-replicating boundary on ci-infra blocks role creation without it.
  • Cost allocation tags: repo, created-by, commit tags don't exist on any billed resource yet — AWS rejects activation. Defer to phase 2/3 (activate after resources with those tags exist).

Test plan

  • terraform plan shows 2 role modifications (add boundary) + 3 tag removals
  • Apply succeeds

…t tags

- budget-enforcer and resource-tagger roles missing permissions_boundary
  (required by self-replicating boundary on ci-infra role)
- Cost allocation tags: only activate tags already in billing (team, service,
  environment, managed-by). Defer repo/created-by/commit to next apply after
  resources with those tags exist.
@github-actions

Copy link
Copy Markdown

@Alexanderamiri
Alexanderamiri merged commit 3641f24 into main Mar 17, 2026
3 checks passed
@Alexanderamiri
Alexanderamiri deleted the fix/apply-boundary-and-tags branch March 17, 2026 19:25
Alexanderamiri added a commit that referenced this pull request May 9, 2026
)

## Summary
Fixes apply failure from #77.

- **Permission boundary**: `budget-enforcer` and `resource-tagger` IAM
roles were missing `permissions_boundary`. The self-replicating boundary
on `ci-infra` blocks role creation without it.
- **Cost allocation tags**: `repo`, `created-by`, `commit` tags don't
exist on any billed resource yet — AWS rejects activation. Defer to
phase 2/3 (activate after resources with those tags exist).

## Test plan
- [ ] `terraform plan` shows 2 role modifications (add boundary) + 3 tag
removals
- [ ] Apply succeeds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant