Skip to content

Commit

Permalink
Upgrades (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmartius authored May 8, 2024
2 parents 899e74b + 2697456 commit 9d16dfb
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
terraform 1.7.5
terramate 0.8.2
terramate 0.8.3
pre-commit 3.6.2
opentofu 1.6.2
2 changes: 1 addition & 1 deletion _bootstrap/oidc-aws-github/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion _bootstrap/terraform-state-bucket/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion config.tm.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ globals "aws" "oidc" {
globals "terraform" "providers" "aws" {
enabled = true
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
config = {
region = "us-east-1"
}
Expand Down
2 changes: 1 addition & 1 deletion stacks/opentofu/empty/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
7 changes: 4 additions & 3 deletions stacks/opentofu/workflows.tm.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ script "drift" "reconcile" {

job {
commands = [
["tofu", "plan", "-out", "drift.tfplan", "-detailed-exitcode", "-lock=false", {
sync_drift_status = true
tofu_plan_file = "drift.tfplan"
["tofu", "apply", "-input=false", "-auto-approve", "-lock-timeout=5m", "drift.tfplan", {
sync_deployment = true
tofu_plan_file = "drift.tfplan"
}],

]
}
}
Expand Down
2 changes: 1 addition & 1 deletion stacks/terraform/prod/us-east-1/alb/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion stacks/terraform/prod/us-east-1/vpc/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.31"
version = "~> 5.48"
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions stacks/terraform/workflows.tm.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ script "drift" "reconcile" {

job {
commands = [
["terraform", "plan", "-out", "drift.tfplan", "-detailed-exitcode", "-lock=false", {
sync_drift_status = true
["terraform", "apply", "-input=false", "-auto-approve", "-lock-timeout=5m", "drift.tfplan", {
sync_deployment = true
terraform_plan_file = "drift.tfplan"
}],

]
}
}
Expand Down

0 comments on commit 9d16dfb

Please sign in to comment.