Skip to content

Commit

Permalink
Update module source paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Dec 14, 2023
1 parent fdb2d91 commit d235789
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion live/prod/us-west-2/bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ locals {
module "bastion" {
count = local.bastion.enable ? 1 : 0

source = "../../../../modules/bastion"
source = "../../../modules/bastion"
name = "${module.label.id}-bastion"
vpc_id = module.vpc.vpc_id
subnets = module.vpc.public_subnets
Expand Down
8 changes: 4 additions & 4 deletions live/prod/us-west-2/docs/MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

| Name | Source | Version |
|------|--------|---------|
| <a name="module_bastion"></a> [bastion](#module\_bastion) | ../../../../modules/bastion | n/a |
| <a name="module_exampledb"></a> [exampledb](#module\_exampledb) | ../../../../modules/rds | n/a |
| <a name="module_bastion"></a> [bastion](#module\_bastion) | ../../../modules/bastion | n/a |
| <a name="module_exampledb"></a> [exampledb](#module\_exampledb) | ../../../modules/rds | n/a |
| <a name="module_label"></a> [label](#module\_label) | cloudposse/label/null | 0.25.0 |
| <a name="module_terraform_state_backend"></a> [terraform\_state\_backend](#module\_terraform\_state\_backend) | cloudposse/tfstate-backend/aws | 1.1.1 |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../../../modules/vpc | n/a |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../../modules/vpc | n/a |

## Resources

Expand Down Expand Up @@ -49,4 +49,4 @@ No inputs.
| <a name="output_ssm_parameter_private_subnets"></a> [ssm\_parameter\_private\_subnets](#output\_ssm\_parameter\_private\_subnets) | name of the ssm parameter for the private subnets |
| <a name="output_ssm_parameter_public_subnets"></a> [ssm\_parameter\_public\_subnets](#output\_ssm\_parameter\_public\_subnets) | name of the ssm parameter for the public subnets |
| <a name="output_ssm_parameter_vpc_id"></a> [ssm\_parameter\_vpc\_id](#output\_ssm\_parameter\_vpc\_id) | name of the ssm parameter for the vpc id |
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
2 changes: 1 addition & 1 deletion live/prod/us-west-2/example-rds-instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
}

module "exampledb" {
source = "../../../../modules/rds"
source = "../../../modules/rds"

name = "${module.label.id}-exampledb"

Expand Down
2 changes: 1 addition & 1 deletion live/prod/us-west-2/vpc.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "vpc" {
source = "../../../../modules/vpc"
source = "../../../modules/vpc"
name = module.label.id
vpc_cidr_block = "10.0.0.0/16"
tags = module.label.tags
Expand Down
2 changes: 1 addition & 1 deletion live/staging/us-west-2/bastion.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ locals {
module "bastion" {
count = local.bastion.enable ? 1 : 0

source = "../../../../modules/bastion"
source = "../../../modules/bastion"
name = "${module.label.id}-bastion"
vpc_id = module.vpc.vpc_id
subnets = module.vpc.public_subnets
Expand Down
8 changes: 4 additions & 4 deletions live/staging/us-west-2/docs/MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

| Name | Source | Version |
|------|--------|---------|
| <a name="module_bastion"></a> [bastion](#module\_bastion) | ../../../../modules/bastion | n/a |
| <a name="module_exampledb"></a> [exampledb](#module\_exampledb) | ../../../../modules/rds | n/a |
| <a name="module_bastion"></a> [bastion](#module\_bastion) | ../../../modules/bastion | n/a |
| <a name="module_exampledb"></a> [exampledb](#module\_exampledb) | ../../../modules/rds | n/a |
| <a name="module_label"></a> [label](#module\_label) | cloudposse/label/null | 0.25.0 |
| <a name="module_terraform_state_backend"></a> [terraform\_state\_backend](#module\_terraform\_state\_backend) | cloudposse/tfstate-backend/aws | 1.1.1 |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../../../modules/vpc | n/a |
| <a name="module_vpc"></a> [vpc](#module\_vpc) | ../../../modules/vpc | n/a |

## Resources

Expand Down Expand Up @@ -49,4 +49,4 @@ No inputs.
| <a name="output_ssm_parameter_private_subnets"></a> [ssm\_parameter\_private\_subnets](#output\_ssm\_parameter\_private\_subnets) | name of the ssm parameter for the private subnets |
| <a name="output_ssm_parameter_public_subnets"></a> [ssm\_parameter\_public\_subnets](#output\_ssm\_parameter\_public\_subnets) | name of the ssm parameter for the public subnets |
| <a name="output_ssm_parameter_vpc_id"></a> [ssm\_parameter\_vpc\_id](#output\_ssm\_parameter\_vpc\_id) | name of the ssm parameter for the vpc id |
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
2 changes: 1 addition & 1 deletion live/staging/us-west-2/example-rds-instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
}

module "exampledb" {
source = "../../../../modules/rds"
source = "../../../modules/rds"

name = "${module.label.id}-exampledb"

Expand Down
2 changes: 1 addition & 1 deletion live/staging/us-west-2/vpc.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "vpc" {
source = "../../../../modules/vpc"
source = "../../../modules/vpc"
name = module.label.id
vpc_cidr_block = "10.1.0.0/16"
tags = module.label.tags
Expand Down

0 comments on commit d235789

Please sign in to comment.