forked from uyuni-project/sumaform
-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tf.aws-testsuite.example
94 lines (77 loc) · 2.13 KB
/
main.tf.aws-testsuite.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
locals {
region = ...
availability_zone = ...
key_file = ...
key_name = ...
}
provider "aws" {
region = local.region
access_key = ...
secret_key = ...
}
module "cucumber_testsuite" {
source = "./modules/cucumber_testsuite"
product_version = "uyuni-master"
branch = "master"
cc_username = ...
cc_password = ...
images = ["opensuse152", "opensuse153"]
name_prefix = ...
git_repo = "https://github.com/uyuni-project/uyuni.git"
git_username = ...
git_password = ...
host_settings = {
controller = {}
server = {}
proxy = {}
suse-client = {
image = "opensuse153"
name = "cli-opensuse153"
}
suse-minion = {
image = "opensuse153"
name = "min-opensuse153"
}
suse-sshminion = {
image = "opensuse153"
name = "minssh-opensuse153"
}
}
provider_settings = {
availability_zone = local.availability_zone
region = local.region
ssh_allowed_ips = [""]
key_name = local.key_name
key_file = local.key_file
}
}
output "key_file" {
value = local.key_file
}
//output "bastion_public_name" {
// value = module.cucumber_testsuite.configuration.base.bastion_host
//}
output "aws_server_private_name" {
value = module.cucumber_testsuite.configuration.server.hostname
}
output "aws_proxy_private_name" {
value = module.cucumber_testsuite.configuration.proxy.hostname
}
output "aws_suse-minion_private_names" {
value = module.cucumber_testsuite.configuration.suse-minion.hostnames
}
output "aws_suse-client_private_names" {
value = module.cucumber_testsuite.configuration.suse-client.hostnames
}
output "aws_suse-sshminion_private_names" {
value = module.cucumber_testsuite.configuration.suse-sshminion.hostnames
}
output "aws_redhat-minion_private_names" {
value = module.cucumber_testsuite.configuration.redhat-minion.hostnames
}
output "aws_debian-minion_private_names" {
value = module.cucumber_testsuite.configuration.debian-minion.hostnames
}
output "aws_controller_private_name" {
value = module.cucumber_testsuite.configuration.controller.hostname
}