You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if tfupdate could support a configuration file to pin versions recursively. Then we could have a config in our mono infra repo and run a single command in a pre-commit hook and in our gh action to ensure we use the verified versions.
I was thinking of the following config, similar to tflint
#.tfupdate.hcltfupdate {
recursive=trueterraform {
required_version="> 1.0.0"providers={
"aws"= {
source ="hashicorp/aws"
version ="~> 4"
}
"tls"= {
source ="hashicorp/tls"
version ="~> 3"
}
# 50 other providers with specific versions
}
}
}
Then we can run the command without having to string together multiple commands
tfupdate
The text was updated successfully, but these errors were encountered:
It would be nice if tfupdate could support a configuration file to pin versions recursively. Then we could have a config in our mono infra repo and run a single command in a pre-commit hook and in our gh action to ensure we use the verified versions.
I was thinking of the following config, similar to tflint
Then we can run the command without having to string together multiple commands
The text was updated successfully, but these errors were encountered: