File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ provider "aws" {
7
7
}
8
8
9
9
resource "aws_instance" "my_web_app" {
10
- ami = " ami-005e54dee72cc1d00"
10
+ ami = " ami-005e54dee72cc1d00"
11
11
12
12
instance_type = " m3.xlarge" # <<<<<<<<<< Try changing this to m5.xlarge to compare the costs
13
13
Original file line number Diff line number Diff line change @@ -27,14 +27,14 @@ resource "aws_s3_bucket" "screenshots_prod" {
27
27
}
28
28
29
29
resource "aws_db_instance" "my_db" {
30
- identifier = " mysql57-extended"
31
- engine = " mysql"
32
- engine_version = " 5.7.44"
33
- instance_class = " c5.2xlarge"
34
- allocated_storage = 20
35
- username = " admin"
36
- password = " yourpassword"
37
- db_name = " exampledb"
30
+ identifier = " mysql57-extended"
31
+ engine = " mysql"
32
+ engine_version = " 5.7.44"
33
+ instance_class = " c5.2xlarge"
34
+ allocated_storage = 20
35
+ username = " admin"
36
+ password = " yourpassword"
37
+ db_name = " exampledb"
38
38
publicly_accessible = false
39
39
skip_final_snapshot = true
40
40
deletion_protection = false
@@ -62,7 +62,7 @@ resource "aws_ecs_task_definition" "my_task" {
62
62
family = " my-task"
63
63
requires_compatibilities = [" FARGATE" ]
64
64
network_mode = " awsvpc"
65
- cpu = " 1024" # 1 vCPU
65
+ cpu = " 1024" # 1 vCPU
66
66
memory = " 2048" # 2 GB
67
67
execution_role_arn = " aws_iam_role.ecs_task_execution_role.arn"
68
68
@@ -89,14 +89,14 @@ provider "azurerm" {
89
89
90
90
resource "azurerm_log_analytics_workspace" "azure_app1_logs" {
91
91
name = " example-logs-1"
92
- location = " East US"
92
+ location = " East US"
93
93
resource_group_name = " example-rg"
94
94
sku = " PerGB2018"
95
95
}
96
96
97
97
resource "azurerm_log_analytics_workspace" "azure_app2_logs" {
98
98
name = " example-logs-2"
99
- location = " East US"
99
+ location = " East US"
100
100
resource_group_name = " example-rg"
101
101
sku = " PerGB2018"
102
102
}
You can’t perform that action at this time.
0 commit comments