Skip to content

Commit

Permalink
further dependency correction
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Mar 28, 2024
1 parent ef82afc commit 51d7b6f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependency "vpc" {
mock_outputs_allowed_terraform_commands = ["init", "validate"]
mock_outputs = {
vpc_id = "mock_vpc_id"
subnets = []
database_subnets = []
source_security_groups = []
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ dependency "vpc" {

mock_outputs_allowed_terraform_commands = ["init", "validate"]
mock_outputs = {
vpc_id = "mock_vpc_id"
subnets = []
source_security_groups = []
vpc_id = "mock_vpc_id"
database_subnet_group = "mock_subnet_group"
}
}

Expand All @@ -33,7 +32,7 @@ dependency "cache" {
}

dependency "backend" {
config_path = "../../services/backend"
config_path = "../../services/backend-infra"

mock_outputs_allowed_terraform_commands = ["init", "validate", "destroy"]
mock_outputs = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ terraform {
dependency "backend" {
config_path = "../../services/backend-infra"

mock_outputs_allowed_terraform_commands = ["init", "validate", "destroy"]
mock_outputs_allowed_terraform_commands = ["init", "validate", "plan", "destroy"]
mock_outputs = {
alb_id = "mock_alb_id"
dns_name = "mock_dns_name"
Expand Down
2 changes: 1 addition & 1 deletion tofu/environments/stage/data-store/cache/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependency "vpc" {
mock_outputs_allowed_terraform_commands = ["init", "validate"]
mock_outputs = {
vpc_id = "mock_vpc_id"
subnets = []
database_subnets = []
source_security_groups = []
}
}
Expand Down
6 changes: 3 additions & 3 deletions tofu/environments/stage/data-store/database/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ dependency "vpc" {

mock_outputs_allowed_terraform_commands = ["init", "validate"]
mock_outputs = {
vpc_id = "mock_vpc_id"
subnets = []
source_security_groups = []
vpc_id = "mock_vpc_id"
database_subnet_group = "mock_subnet_group"

}
}

Expand Down
2 changes: 1 addition & 1 deletion tofu/environments/stage/services/frontend/terragrunt.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ terraform {
dependency "backend" {
config_path = "../../services/backend-infra"

mock_outputs_allowed_terraform_commands = ["init", "validate", "destroy"]
mock_outputs_allowed_terraform_commands = ["init", "validate", "plan", "destroy"]
mock_outputs = {
alb_id = "mock_alb_id"
dns_name = "mock_dns_name"
Expand Down

0 comments on commit 51d7b6f

Please sign in to comment.