Problem: some environments EC2 instances shouldn't be terminated for any stack modification

Open
#189 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, go

Research direction

Read deployments/infra/config/config.go at DeploymentStage and deployments/infra/cdk_main.go at the EC2 instance definition. Check how DEV currently handles instance identity and how AWS CDK exposes termination protection. Done means STAGING and PROD preserve the instance during stack modifications while DEV retains its existing redeployment behavior.

Written by the indexing model from the issue text.

Description

My suggestion:

Add conditional behaviors if DeploymentStage is STAGING or PROD, so that:

Dominant language
Go
Stars
7
Forks
3
Avg merge
3h 2m
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from trufnetwork/node

All issues in trufnetwork/node

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.