Skip to content

Commit

Permalink
feat(terraform): simplify the account setup remote state (#119)
Browse files Browse the repository at this point in the history
* feat(terraform): simplify the account setup remote state

* fix(terraform): `.init` -> `_init`

* fix(terraform): fix module source path

* chore: update Dependabot config
  • Loading branch information
JoshuaLicense authored May 29, 2024
1 parent b5f3da2 commit 9ed6203
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ updates:
# Accounts
- "/infra/terraform/accounts/nonprod"
- "/infra/terraform/accounts/prod"
# Misc
- "/infra/terraform/accounts/_init"
# Environments
- "/infra/terraform/environments/dev"
- "/infra/terraform/environments/int"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module "remote-state" {
source = "../../../modules/remote-state"
source = "../../modules/remote-state"

identifier = "vol-app"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.39.0"
version = "~> 5.0"
}
}

Expand Down
2 changes: 0 additions & 2 deletions infra/terraform/modules/remote-state/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ module "dynamodb_table" {
type = "S"
}
]

point_in_time_recovery_enabled = true
}

module "dynamodb_state_lock_policy" {
Expand Down

0 comments on commit 9ed6203

Please sign in to comment.