Skip to content

Commit

Permalink
Prepare for opentofu support. Fix line endings in versions.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
avnes committed Jun 28, 2024
1 parent 3b0d1ec commit 8b35f46
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 13 deletions.
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"extends": [
"local>dfds/renovate-config"
],
"terraform": {
"fileMatch": [
"\\.tf$",
"\\.tofu$"
]
},
"packageRules": [
{
"matchUpdateTypes": [
Expand Down
26 changes: 13 additions & 13 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
terraform {
required_version = ">= 1.3.0, < 1.6.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
random = {
source = "hashicorp/random"
version = ">= 3.1"
}
}
}
terraform {
required_version = ">= 1.3.0, < 1.6.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
random = {
source = "hashicorp/random"
version = ">= 3.1"
}
}
}
13 changes: 13 additions & 0 deletions versions.tofu
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
terraform {
required_version = ">= 1.8.0"
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.0"
}
random = {
source = "hashicorp/random"
version = ">= 3.1"
}
}
}

0 comments on commit 8b35f46

Please sign in to comment.