Skip to content

Commit b52f712

Browse files
committed
fix outdated name
1 parent c1fde5b commit b52f712

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

lambda/data.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@ data "terraform_remote_state" "iam" {
22
workspace = terraform.workspace
33
backend = "local"
44
config = {
5-
path = "/tmp/.terrahub/local_backend/demo-terraform-automation-aws/iam_role/terraform.tfstate"
5+
path = "/tmp/.terrahub/local_backend/terraform-aws-automation-demo/iam_role/terraform.tfstate"
66
}
77
}
88

99
data "terraform_remote_state" "sg" {
1010
workspace = terraform.workspace
1111
backend = "local"
1212
config = {
13-
path = "/tmp/.terrahub/local_backend/demo-terraform-automation-aws/security_group/terraform.tfstate"
13+
path = "/tmp/.terrahub/local_backend/terraform-aws-automation-demo/security_group/terraform.tfstate"
1414
}
1515
}
1616

1717
data "terraform_remote_state" "subnet" {
1818
workspace = terraform.workspace
1919
backend = "local"
2020
config = {
21-
path = "/tmp/.terrahub/local_backend/demo-terraform-automation-aws/subnet_private/terraform.tfstate"
21+
path = "/tmp/.terrahub/local_backend/terraform-aws-automation-demo/subnet_private/terraform.tfstate"
2222
}
2323
}

lambda/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ resource "aws_lambda_function" "lambda" {
1212

1313
tags = {
1414
Description = "Managed by TerraHub",
15-
Name = "demo-terraform-automation-aws"
15+
Name = "terraform-aws-automation-demo"
1616
ThubCode = "7356626c",
1717
ThubEnv = "default"
1818
}

security_group/data.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ data "terraform_remote_state" "vpc" {
22
workspace = terraform.workspace
33
backend = "local"
44
config = {
5-
path = "/tmp/.terrahub/local_backend/demo-terraform-automation-aws/vpc/terraform.tfstate"
5+
path = "/tmp/.terrahub/local_backend/terraform-aws-automation-demo/vpc/terraform.tfstate"
66
}
77
}

security_group/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
resource "aws_security_group" "security_group" {
22
description = "default VPC security group"
3-
name = "demo-terraform-automation-aws"
3+
name = "terraform-aws-automation-demo"
44
vpc_id = data.terraform_remote_state.vpc.outputs.thub_id
55

66
egress {
@@ -21,7 +21,7 @@ resource "aws_security_group" "security_group" {
2121

2222
tags = {
2323
Description = "Managed by TerraHub",
24-
Name = "demo-terraform-automation-aws",
24+
Name = "terraform-aws-automation-demo",
2525
ThubCode = "7356626c",
2626
ThubEnv = "default"
2727
}

subnet_private/data.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ data "terraform_remote_state" "vpc" {
44
workspace = terraform.workspace
55
backend = "local"
66
config = {
7-
path = "/tmp/.terrahub/local_backend/demo-terraform-automation-aws/vpc/terraform.tfstate"
7+
path = "/tmp/.terrahub/local_backend/terraform-aws-automation-demo/vpc/terraform.tfstate"
88
}
99
}

subnet_private/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ resource "aws_subnet" "subnet_private" {
66
availability_zone = element(data.aws_availability_zones.az.names, count.index)
77
map_public_ip_on_launch = false
88
tags = {
9-
"Name" = "demo-terraform-automation-aws",
9+
"Name" = "terraform-aws-automation-demo",
1010
"Description" = "Managed by TerraHub",
1111
"ThubCode" = "7356626c",
1212
"ThubEnv" = "default"

vpc/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ resource "aws_vpc" "vpc" {
66
enable_dns_hostnames = true
77
enable_dns_support = true
88
instance_tenancy = "default"
9-
tags = map("Description", "Managed by TerraHub", "Name", "demo-terraform-automation-aws", "ThubCode", "7356626c", "ThubEnv", "default")
9+
tags = map("Description", "Managed by TerraHub", "Name", "terraform-aws-automation-demo", "ThubCode", "7356626c", "ThubEnv", "default")
1010
}

0 commit comments

Comments
 (0)