Skip to content

Activate repo cost allocation tag#99

Merged
Alexanderamiri merged 1 commit into
mainfrom
fix/cost-tags
Mar 26, 2026
Merged

Activate repo cost allocation tag#99
Alexanderamiri merged 1 commit into
mainfrom
fix/cost-tags

Conversation

@Alexanderamiri
Copy link
Copy Markdown
Member

Summary

  • Add repo to active cost allocation tags in Cost Explorer
  • Already present on resources via default_tags, just needs activation

Test plan

  • Verify terraform plan shows 1 new aws_ce_cost_allocation_tag resource

Add repo to active cost allocation tags. It's already in default_tags
so resources have it — just needs activation in Billing.
@Alexanderamiri Alexanderamiri requested a review from a team as a code owner March 26, 2026 20:09
@github-actions
Copy link
Copy Markdown

Terraform Plan

🚧 Changes detected — Plan: 1 to add, 0 to change, 0 to destroy.

Plan output
Acquiring state lock. This may take a few moments...

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # module.monitoring.aws_ce_cost_allocation_tag.tags["repo"] will be created
  + resource "aws_ce_cost_allocation_tag" "tags" {
      + id      = (known after apply)
      + status  = "Active"
      + tag_key = "repo"
      + type    = (known after apply)
    }

Plan: 1 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Saved the plan to: tfplan

To perform exactly these actions, run the following command to apply:
    terraform apply "tfplan"

LLM Review

Risk: 🟢 LOW

Adding a new cost allocation tag for repository tracking with no modifications to existing infrastructure.

  • [routine] Creating a single new AWS Cost Allocation Tag for 'repo' key to enable cost tracking by repository. This is a non-destructive, low-impact change.
  • 💰 [cost] Cost allocation tags are a free AWS feature for organizing billing data. No new billable resources are being created.
  • [routine] No existing resources are being modified or destroyed. The plan only adds one new tagging resource.
  • [routine] Existing infrastructure (Lambda functions, ECS, networking, monitoring, IAM roles) remains unchanged. All resources are in stable state.
  • [routine] This change aligns with the existing tagging strategy already in place (team, service, managed-by, environment tags are already active).

@Alexanderamiri Alexanderamiri merged commit 1bf7ea5 into main Mar 26, 2026
3 checks passed
@Alexanderamiri Alexanderamiri deleted the fix/cost-tags branch March 26, 2026 20:11
Alexanderamiri added a commit that referenced this pull request May 9, 2026
## Summary
- Add `repo` to active cost allocation tags in Cost Explorer
- Already present on resources via `default_tags`, just needs activation

## Test plan
- [ ] Verify `terraform plan` shows 1 new `aws_ce_cost_allocation_tag`
resource
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