Skip to content

Commit 77f6467

Browse files
committed
fix(doc): hcl support code block
1 parent 82f2685 commit 77f6467

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ resource "aws_ecr_repository" "ecr_repository" {
197197

198198
The task definition is a blueprint of the runner with the docker image we will create
199199

200-
```
200+
```terraform
201201
resource "aws_ecs_task_definition" "vite_task" {
202202
family = "vite-first-app"
203203
container_definitions = jsonencode([{
@@ -227,7 +227,7 @@ resource "aws_ecs_task_definition" "vite_task" {
227227

228228
> First: a cluster will be the playground where all our task will run, is defined in the terraform file with this code, so there no much explanation
229229
230-
```hcl
230+
```terraform
231231
resource "aws_ecs_cluster" "ecs_cluster" {
232232
name = "vite-docker-cluster"
233233
}
@@ -241,7 +241,7 @@ We can create a **task** in the **cluster** as a single element, but the benefit
241241

242242
So we will define a cluster service with 2 tasks always running for redundancy
243243

244-
```hcl
244+
```terraform
245245
resource "aws_ecs_service" "vite_ecs_service" {
246246
name = "vite-app-service"
247247

0 commit comments

Comments
 (0)