Skip to content

Commit

Permalink
update to add version
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jan 30, 2023
1 parent 5dfa7d3 commit 74cc683
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
18 changes: 17 additions & 1 deletion examples/efk/.tf-control
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# .tf-control
# allows for setting a specific command to be used for tf-* commands under this git repo
# see tf-control.sh help for more info

TFCONTROL_VERSION="1.0.5"

TFCOMMAND="terraform_latest"
# TF_CLI_CONFIG_FILE=PATH-TO-FILE/.tf-control.tfrc
# TFARGS=""
# TFNOLOG=""
# TFNOCOLOR=""

# use the following to force a specific version. An upgrade of an existing 0.12.31 to 1.x
# needs you to cycle through 0.13.17, 0.14.11, and then latest (0.15.5 not needed). Other
# steps in between. See https://github.e.it.census.gov/terraform/support/tree/master/docs/how-to/terraform-upgrade for details
#
#TFCOMMAND="terraform_0.12.31"
#TFCOMMAND="terraform_0.13.7"
#TFCOMMAND="terraform_0.14.11"
#TF_CLI_CONFIG_FILE=.tf-control.tfrc
#TFCOMMAND="terraform_0.15.5"
3 changes: 2 additions & 1 deletion examples/efk/.tf-control.tfrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# https://www.terraform.io/docs/cli/config/config-file.html
TFCONTROL_VERSION="1.0.5"

# https://www.terraform.io/docs/cli/config/config-file.html
plugin_cache_dir = "/data/terraform/terraform.d/plugin-cache"
#disable_checkpoint = true

Expand Down
16 changes: 10 additions & 6 deletions examples/efk/versions.tf
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
source = "hashicorp/aws"
version = ">= 3.0"
}
null = {
source = "hashicorp/null"
version = ">= 1.0"
}
helm = {
source = "hashicorp/helm"
source = "hashicorp/helm"
version = ">= 1.0"
}
kubernetes = {
source = "hashicorp/kubernetes"
}
null = {
source = "hashicorp/null"
source = "hashicorp/kubernetes"
version = ">= 1.0"
}
}
required_version = ">= 0.13"
Expand Down

0 comments on commit 74cc683

Please sign in to comment.