Skip to content

Terraform module grouping sandbox definition, pool and allocation units in KYPO CRP

License

Notifications You must be signed in to change notification settings

vydrazde/terraform-kypo-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-kypo-sandbox

Terraform module which creates sandbox definition, sandbox pool and allocation units in KYPO CRP. Additionally it saves outputs of allocation units stages to local files.

Requirements

Name Version
kypo >= 0.1.0

Providers

Name Version
kypo >= 0.1.0
local n/a
null n/a

Modules

No modules.

Resources

Name Type
kypo_sandbox_allocation_unit.sandbox resource
kypo_sandbox_definition.definition resource
kypo_sandbox_pool.pool resource
local_sensitive_file.output resource
null_resource.check resource
kypo_sandbox_request_output.output data source

Inputs

Name Description Type Default Required
output_directory The directory where files with outputs will be created. string "outputs" no
pool_size The maximum number of sandboxes that can be allocated in a pool. Defaults to sandbox_count. number null no
project_url Url to Git repository with sandbox definition, as obtained by Clone with SSH or HTTPS. string n/a yes
rev Git revision of the Git repository from project_url to use. string n/a yes
sandbox_count The number of sandboxes to be allocated. number 1 no
stages Set of stages whose output from sandbox allocation will be saved to files in output_directory. One file per each combination of stage and sandbox. set(string)
[
"user-ansible",
"networking-ansible",
"terraform"
]
no

Outputs

Name Description
definition_id Id of created sandbox definition.
pool_id Id of created sandbox pool.
sandbox_ids List of ids of created sandboxes.

Author: Zdeněk Vydra

About

Terraform module grouping sandbox definition, pool and allocation units in KYPO CRP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages