Skip to content

Promote EC2 deploy environment fix#7

Merged
OziinG merged 2 commits intomainfrom
dev
Apr 30, 2026
Merged

Promote EC2 deploy environment fix#7
OziinG merged 2 commits intomainfrom
dev

Conversation

@OziinG
Copy link
Copy Markdown
Contributor

@OziinG OziinG commented Apr 30, 2026

Summary

  • Promotes the deploy environment resolution fix from dev to main.
  • Ensures deploy-ec2 uses the prod environment role surface and ca-central-1 default.

Verification

  • bash -n scripts/ec2-bootstrap-and-deploy.sh scripts/dispatch-ec2-deploy-ssm.sh
  • workflow YAML parse
  • git diff --check

Follow-up for #3.

OziinG and others added 2 commits April 30, 2026 14:14
Use the prod GitHub environment and Tomotono-specific Canada Central default so the deploy workflow does not inherit generic org settings that point at Korea.

Constraint: First manual dispatch failed before AWS auth because DEPLOY_ROLE_ARN was empty and AWS_REGION resolved to ap-northeast-2.

Rejected: Reusing generic AWS_REGION fallback | it violates the Canada Central deployment requirement for Tomotono.

Confidence: medium

Scope-risk: narrow

Directive: Prefer TOMOTONO_AWS_REGION for this service; only use shared role references for auth, not shared regional defaults.

Tested: bash -n deploy scripts; workflow YAML parse; git diff --check.

Not-tested: Live EC2 dispatch after this fix before merge to main.

Related: #3

Co-authored-by: OmX <omx@oh-my-codex.dev>
Merge PR #6 to keep Tomotono deploys on ca-central-1 and resolve shared prod role settings.
@OziinG OziinG merged commit 8db33cd into main Apr 30, 2026
2 checks passed
@OziinG OziinG mentioned this pull request Apr 30, 2026
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