3

, Terraform. , , .

, .

, . . count 1, 2.

count

. , , - terraform plan.

terraform plan

, , . terraform apply. , yes.

terraform apply

, . 2 .

. , . t2.micro, t3.micro count c 2 1.

terraform plan , , .

terraform plan

terraform apply . , .

terraform apply

, . , resource aws_instance, , Terraform.

, , , . , , .

tags = {
    Name = "Vasya"
  }
tags

terraform apply. .

terraform apply

Vasya. , , , tags. Tags , , 100, , . tag - , .

tags

, , - , terraform plan, + - - , - .

. , , Terraform. , , , , .

, , . , count = 0 .

count = 0. , Terraform , .

Destroyed

, , , terminated, .

terminated

, . , Terraform .


50% Merion Academy