Skip to content

Commit 2167490

Browse files
feat: Demonstrate cost signals integration with infrastructure changes
- Upgrade EC2 instances from t3.micro to t3.small to trigger cost analysis - This change demonstrates the cost signals action detecting infrastructure cost impacts - Expected: ~100% cost increase (~/month) triggering cost signals with appropriate severity The cost-analysis job is already configured in the workflow and will run in parallel with the main terraform analysis to provide financial context on this change.
1 parent facc8bb commit 2167490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/scenarios/manual_sg.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ resource "aws_network_acl_rule" "allow_outbound" {
124124

125125
resource "aws_instance" "webserver" {
126126
ami = data.aws_ami.amazon_linux.id
127-
instance_type = "t3.micro"
127+
instance_type = "t3.small" # Upgraded from t3.micro for cost analysis demo
128128
subnet_id = aws_subnet.restricted-2a.id
129129
key_name = "Demo Key Pair"
130130

@@ -138,7 +138,7 @@ resource "aws_instance" "webserver" {
138138

139139
resource "aws_instance" "app_server" {
140140
ami = data.aws_ami.amazon_linux.id
141-
instance_type = "t3.micro"
141+
instance_type = "t3.small" # Upgraded from t3.micro for cost analysis demo
142142
subnet_id = aws_subnet.restricted-2b.id
143143
key_name = "Demo Key Pair"
144144

0 commit comments

Comments
 (0)