Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Oct 13, 2022
1 parent 2413b28 commit 39ffe77
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/efk/.tf-control
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
TFCOMMAND="terraform_latest"
#TFCOMMAND="terraform_0.13.7"
#TFCOMMAND="terraform_0.14.11"
#TF_CLI_CONFIG_FILE=.tf-control.tfrc
23 changes: 23 additions & 0 deletions examples/efk/.tf-control.tfrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# https://www.terraform.io/docs/cli/config/config-file.html

plugin_cache_dir = "/data/terraform/terraform.d/plugin-cache"
#disable_checkpoint = true

provider_installation {
# filesystem_mirror {
# path = "/apps/terraform/terraform.d/providers"
# include = [ "*/*/*" ]
# }
filesystem_mirror {
path = "/data/terraform/terraform.d/providers"
include = [ "*/*/*" ]
}
# filesystem_mirror {
# path = "/apps/terraform/terraform.d/providers"
# include = [ "external.terraform.census.gov/*/*" ]
# }
direct {
include = [ "*/*/*" ]
}
}

11 changes: 11 additions & 0 deletions examples/efk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,14 @@ rsync this directory into it
tf-run apply
set NO_PROXY to include the EKS API endpoint
tf-run apply N # continue from where left off

This requires runnign under TF 1.x.

If the repo is already configured for TF 1.x, you do not need the .tf-control and .tf-control.rc files
in the efk/ directory. To find out, do this

```script
tf-cli version
```

If it reports 0.12.31, copy the .tf-control* files into the common-services/efk

0 comments on commit 39ffe77

Please sign in to comment.