Conversation
* fixed migrate_via_ssm.sh script * Changed line endings to LF in scripts and added bash command for safety --------- Co-authored-by: NicolaSavino <nick.savino@arcurve.com>
* fixed migrate_via_ssm.sh script * Changed line endings to LF in scripts and added bash command for safety --------- Co-authored-by: NicolaSavino <nick.savino@arcurve.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
PR Type
Enhancement, Bug fix
Description
Add IAM policies for manual EC2/RDS start-stop via GitHub Actions
Fix shell script invocations with explicit bash command prefix
Correct variable escaping in migration script database URL
Remove redundant RDS wait command from stop workflow
Diagram Walkthrough
File Walkthrough
main.tf
Add GitHub Actions EC2/RDS start-stop IAM policiesinfra/modules/github_oidc/main.tf
github_start_stopwith EC2 and RDSpermissions
stop-env.yml
Remove redundant RDS wait command.github/workflows/stop-env.yml
aws rds wait db-instance-stoppedcommanddeploy_via_ssm.sh
Add explicit bash command to script invocationscripts/ci/deploy_via_ssm.sh
./scripts/ci/ssm_run_and_wait.shtobash ./scripts/ci/ssm_run_and_wait.shmigrate_via_ssm.sh
Fix variable escaping and script invocationscripts/ci/migrate_via_ssm.sh
\\$DBURLto\$DBURL./scripts/ci/ssm_run_and_wait.shtobash ./scripts/ci/ssm_run_and_wait.sh