add VM and docker compose for concourse
This commit is contained in:
parent
4c35512e62
commit
e5a0727375
9 changed files with 107 additions and 11 deletions
6
terraform/.gitignore
vendored
6
terraform/.gitignore
vendored
|
@ -10,8 +10,8 @@ crash.log
|
|||
crash.*.log
|
||||
|
||||
# Exclude all .tfvars files, which are likely to contain sensitive data, such as
|
||||
# password, private keys, and other secrets. These should not be part of version
|
||||
# control as they are data points which are potentially sensitive and subject
|
||||
# password, private keys, and other secrets. These should not be part of version
|
||||
# control as they are data points which are potentially sensitive and subject
|
||||
# to change depending on the environment.
|
||||
*.tfvars
|
||||
*.tfvars.json
|
||||
|
@ -34,3 +34,5 @@ override.tf.json
|
|||
terraform.rc
|
||||
.terraform.lock.hcl
|
||||
*.tfbackend
|
||||
|
||||
.vault_password
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
terraform {
|
||||
backend "pg" {
|
||||
schema_name = "alexander"
|
||||
schema_name = "concourse"
|
||||
conn_str = "postgres://terraform@10.42.0.1/terraform_state"
|
||||
}
|
||||
|
||||
|
@ -15,12 +15,10 @@ provider "libvirt" {
|
|||
uri = "qemu+ssh://root@lewis.hyp/system"
|
||||
}
|
||||
|
||||
module "alexander" {
|
||||
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
||||
name = "alexander"
|
||||
domain_name = "tf-alexander"
|
||||
module "concourse" {
|
||||
source = "git::https://git.pim.kunis.nl/home/tf-modules.git//debian"
|
||||
name = "concourse"
|
||||
domain_name = "tf-concourse"
|
||||
memory = 1024 * 4
|
||||
hypervisor_host = "lewis.hyp"
|
||||
mac = "CA:FE:C0:FF:EE:0B"
|
||||
memory = 1024 * 2
|
||||
insecure_password = true
|
||||
}
|
||||
|
|
Reference in a new issue