Repository navigation
feat(aws-startup-advisor): Heroku-to-AWS day-to-day command cheat sheet in the heroku-to-aws migration guide #615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
herosjourney
merged 5 commits into
aws:main
from
herosjourney:feat/heroku-command-cheatsheet
Nov 11, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4fe0e58
feat(aws-startup-advisor): add a Heroku-to-AWS day-to-day command che…
7868c76
fix(aws-startup-advisor): render the Heroku command cheat sheet from …
f36a765
fix(aws-startup-advisor): make the Heroku command cheat sheet true fo…
dd306b7
fix(aws-startup-advisor): close the second review round on the Heroku…
44306e1
fix(aws-startup-advisor): Review findings on PR #615
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
124 changes: 124 additions & 0 deletions
124
...tartup-advisor/skills/heroku-to-aws/references/phases/generate/generate-docs.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
...ills/tf-best-practices/fixtures/terraform-policy/good-heroku-fargate-ecs-exec/security.tf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| # Compliant fixture — the ECS Exec task-role grant heroku-to-aws emits in security.tf | ||
| # (the `heroku run bash` equivalent). MUST pass (POLICY_OK): AWS defines no resource-level | ||
| # permissions for the four ssmmessages channel actions, so Resource "*" is the only | ||
| # possible shape and no_wildcard_iam exempts a statement that lists ONLY those actions. | ||
| resource "aws_iam_role" "ecs_task" { | ||
| name = "${var.project_name}-${var.environment}-ecs-task" | ||
|
|
||
| assume_role_policy = jsonencode({ | ||
| Version = "2012-10-17" | ||
| Statement = [{ | ||
| Action = "sts:AssumeRole" | ||
| Effect = "Allow" | ||
| Principal = { | ||
| Service = "ecs-tasks.amazonaws.com" | ||
| } | ||
| }] | ||
| }) | ||
| } | ||
|
|
||
| resource "aws_iam_role_policy" "ecs_task_exec" { | ||
| name = "${var.project_name}-${var.environment}-ecs-exec" | ||
| role = aws_iam_role.ecs_task.id | ||
| policy = jsonencode({ | ||
| Version = "2012-10-17" | ||
| Statement = [{ | ||
| Effect = "Allow" | ||
| Action = [ | ||
| "ssmmessages:CreateControlChannel", | ||
| "ssmmessages:CreateDataChannel", | ||
| "ssmmessages:OpenControlChannel", | ||
| "ssmmessages:OpenDataChannel" | ||
| ] | ||
| Resource = "*" | ||
| }] | ||
| }) | ||
| } | ||
|
|
||
| # A scoped statement next to it must not be disturbed by the exemption. | ||
| resource "aws_iam_role_policy" "ecs_task_queue" { | ||
| name = "${var.project_name}-${var.environment}-ecs-queue" | ||
| role = aws_iam_role.ecs_task.id | ||
| policy = jsonencode({ | ||
| Version = "2012-10-17" | ||
| Statement = [{ | ||
| Effect = "Allow" | ||
| Action = ["sqs:SendMessage", "sqs:ReceiveMessage"] | ||
| Resource = "arn:aws:sqs:us-east-1:123456789012:${var.project_name}-jobs" | ||
| }] | ||
| }) | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.