Skip to content

Commit 88690d7

Browse files
committed
Fix examples
1 parent cd4a27d commit 88690d7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/test/main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ locals {
55

66
module "cluster" {
77
source = "cn-terraform/ecs-cluster/aws"
8-
name = "test-cluster"
8+
name = "test"
99
}
1010

1111
module "base-network" {
@@ -52,14 +52,14 @@ module "base-network" {
5252

5353
module "td" {
5454
source = "cn-terraform/ecs-fargate-task-definition/aws"
55-
name_prefix = "test-td"
55+
name_prefix = "test"
5656
container_image = "ubuntu"
5757
container_name = "test"
5858
}
5959

6060
module "service" {
6161
source = "cn-terraform/ecs-fargate-service/aws"
62-
name_prefix = "test-service"
62+
name_prefix = "test"
6363
vpc_id = module.base-network.vpc_id
6464
ecs_cluster_arn = module.cluster.aws_ecs_cluster_cluster_arn
6565
task_definition_arn = module.td.aws_ecs_task_definition_td_arn
@@ -71,7 +71,7 @@ module "service" {
7171

7272
module "ecs-service-autoscaling" {
7373
source = "../../"
74-
name_prefix = "test-as"
74+
name_prefix = "test"
7575
ecs_cluster_name = module.cluster.aws_ecs_cluster_cluster_name
7676
ecs_service_name = module.service.aws_ecs_service_service_name
7777
# region = "us-east-1"

0 commit comments

Comments
 (0)