Skip to content

a demo enviroment that creates a githup repo, a TF Workspace and a Vault namespace all integrated.

License

Notifications You must be signed in to change notification settings

rayploski/terraform-com-showcase-pipeline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-com-showcase-pipeline

a demo enviroment that creates a githup repo, a TF Workspace, a Vault namespace and OKTA SSO App all integrated.

Solution Diagram

the main variable this code needs is application_name, with the tfvars bellow, application_name will be a variable passed in at runtime.

terraform.tfvars

#Vault
vault_namespace = ""
vault_token = ""
vault_address = ""
#Consul
consul_address = ""
consul_token = ""
#Nomad
nomad_address = ""
#TFC
tfe_username = ""
tfe_organization = ""
tfe_token = ""
tfe_oauth_token_id= "" # for the CVS set up in TFC, you can get it from the settings page under VCS providers
#Github
github_provider_token=""
#Docker
docker_hub_namespace=""
docker_hub_username=""
docker_hub_password=""
#Gitlab
gitlab_token=""
#Okta
okta_org_name=""
okta_base_url_full=""
okta_base_url=""
okta_api_token=""
okta_user_email=""
roles = {
  okta_admin = {
    token_policies = ["admin-policy","superadmin"]
    bound_groups = ["vault-admins-<application_name>"]
  },
  okta_devs  = {
    token_policies = ["devs-policy","superadmin"]
    bound_groups = ["vault-devs-<application_name>"]
  }
}
#Boundary
boundary_address=""
auth_method_id = ""
username       = ""
password       = ""
backend_server_ips = [""]
postgres_hostname = ""
postgres_port = 5432
postgres_name = ""
postgres_username =""
postgres_password =""
sshca_hostname = ""
sshca_public_key = ""

About

a demo enviroment that creates a githup repo, a TF Workspace and a Vault namespace all integrated.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 99.1%
  • Makefile 0.9%