Skip to content

kantselovich/terraform-configurations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

picture alt

Configuration and Installation

Go Notes

Terraform Notes

  • modules have context. vars of the same name under different modules may coexist
  • directory structure - what's the best way to organize for the user readability and keep it DRY?
    / (root module - has root module context)
    base / (base module - common components) bin / (i put the compiled terraform binary here) main.tf (this is the first tf file found by terraform - best case scenario is we edit this file as our main config)

Terraform-provider-netscaler Notes

i had an issue when building off the hashicorp/terraform master and using the citrix-terraform-netscaler plugin. had to use an older tagged version of hashicorp/terraform as there was an API version conflict w/ the terraform-provider-netscaler plugin and terraform

  • DNS names - seems like the terraform-provider-netscaler won't accept FQDN, only IP. the workaround here is to set a dependency on the node being created for the lb vserver. the lb vserver won't be created until the node is built and the nodes ip is set.
  • rewrite policies - not certain how to get them bound

Environment Configuration

git stuff

Go environment vars

  • export PATH=$PATH:~/go/bin
  • export GOROOT=~/go
  • export GOPATH=~/go/work

Terraform environment vars

  • export TF_LOG="TRACE" # set the amount of logging you want when running terraform

How To

to create your own environment copy a different environment buildout and make all the updates your environment needs. switching to that environment requires you to update the main.tf: module "environment"

About

Terraform Configuration Files for RL Environments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published