Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nanlabs/terraform-aws-starter
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Nov 14, 2023
2 parents 8e79534 + ee517a4 commit 25e4fbd
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 69 deletions.
86 changes: 33 additions & 53 deletions apps/start-stop-ec2-instances/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/start-stop-ec2-instances/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"aws-lambda": "^1.0.7",
"aws-sdk": "^2.1380.0",
"axios": "^1.3.4",
"axios": "^1.6.0",
"http-errors": "^2.0.0"
}
}
11 changes: 9 additions & 2 deletions live/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@

## Prerequisites

✔️ [Terraform](https://www.terraform.io/downloads.html)
- [Terraform](https://www.terraform.io/downloads.html)
- [TFswitch](https://tfswitch.warrensbox.com/)

## Setup

1. Initialize the Terraform working directory:
1. Switch to the correct Terraform version

```sh
tfswitch
```

2. Initialize the Terraform working directory:

```sh
terraform init
Expand Down
2 changes: 1 addition & 1 deletion live/core/backend.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module "terraform_state_backend" {

terraform_backend_config_file_path = "."
terraform_backend_config_file_name = "s3-backend.tf"
terraform_state_file = "${module.label.id}.tfstate"
terraform_state_file = "${module.label.namespace}-${module.label.name}.tfstate"

bucket_enabled = true
dynamodb_enabled = true
Expand Down
2 changes: 0 additions & 2 deletions modules/vpc/docs/MODULE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@
| [aws_ssm_parameter.private_subnets](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource |
| [aws_ssm_parameter.public_subnets](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource |
| [aws_ssm_parameter.vpc_id](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter) | resource |
| [aws_vpc_endpoint.secrets_manager](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_endpoint) | resource |
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |
| [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source |

## Inputs

Expand Down
10 changes: 0 additions & 10 deletions modules/vpc/endpoints.tf

This file was deleted.

0 comments on commit 25e4fbd

Please sign in to comment.