-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add bunkerweb test vm #418
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plan Result (test_vpn_gateway)
|
Plan Result (generate_ansible_inventory)
Change Result (Click me) # github_repository_file.hosts will be updated in-place
~ resource "github_repository_file" "hosts" {
~ content = <<-EOT
# This file is updated by Terraform to reflect the VMs deployed any updates should be made to the hosts.yaml.tpl file.
all:
vars:
ansible_user: bancey
hosts:
+ bunkerweb-test:
+ ansible_host: 10.151.14.201
npm-test:
ansible_host: 10.151.14.200
haproxy0:
ansible_host: 10.151.16.201
ansible_user: root
haproxy1:
ansible_host: 10.151.16.202
ansible_user: root
haproxy2:
ansible_host: 10.151.16.203
ansible_user: root
children:
rpi:
hosts:
thanos:
ansible_host: 10.151.14.5
gamora:
ansible_host: 10.151.14.6
tiny_k3s_cluster:
vars:
metallb_ip_range: "10.151.16.50-10.151.16.100"
k3s_etcd_datastore: true
k3s_server:
flannel-backend: 'none'
disable:
- flannel
- local-storage
- servicelb
- traefik
disable-network-policy: true
write-kubeconfig-mode: "0644"
cluster-cidr: 10.42.0.0/16
service-cidr: 10.43.0.0/16
tls-san: 10.151.16.200
k3s_registration_address: 10.151.16.200
hosts:
tiny-master0:
ansible_host: 10.151.16.8
tiny-master1:
ansible_host: 10.151.16.9
tiny-master2:
ansible_host: 10.151.16.10
tiny-node0:
ansible_host: 10.151.16.16
tiny-node1:
ansible_host: 10.151.16.17
tiny-node2:
ansible_host: 10.151.16.18
wanda_k3s_cluster:
vars:
metallb_ip_range: "10.151.15.50-10.151.15.100"
k3s_etcd_datastore: false
k3s_server:
flannel-backend: 'none'
disable:
- flannel
- local-storage
- servicelb
- traefik
disable-network-policy: true
write-kubeconfig-mode: "0644"
cluster-cidr: 10.42.0.0/16
service-cidr: 10.43.0.0/16
hosts:
wanda-master0:
ansible_host: 10.151.15.8
wanda-node0:
ansible_host: 10.151.15.16
wanda-node1:
ansible_host: 10.151.15.17
wanda-node2:
ansible_host: 10.151.15.18
wanda-node3:
ansible_host: 10.151.15.19
EOT
id = "lab-ops/ansible/hosts.yaml"
# (10 unchanged attributes hidden)
}
Plan: 0 to add, 1 to change, 0 to destroy. |
Plan Result (prod_twingate)
|
Plan Result (prod_vpn_gateway)
|
Plan Result (test_gameserver)
|
Plan Result (prod_gameserver)
|
Plan Result (tiny_virtual_machines)
Change Result (Click me) # module.tiny_virtual_machines["bunkerweb-test"].proxmox_virtual_environment_file.cloud_config will be created
+ resource "proxmox_virtual_environment_file" "cloud_config" {
+ content_type = "snippets"
+ datastore_id = "local"
+ file_modification_date = (known after apply)
+ file_name = (known after apply)
+ file_size = (known after apply)
+ file_tag = (known after apply)
+ id = (known after apply)
+ node_name = "loki"
+ overwrite = true
+ timeout_upload = 1800
+ source_raw {
+ data = (sensitive value)
+ file_name = "bunkerweb-test-cloud-config.yaml"
+ resize = 0
}
}
# module.tiny_virtual_machines["bunkerweb-test"].proxmox_virtual_environment_vm.vm will be created
+ resource "proxmox_virtual_environment_vm" "vm" {
+ acpi = true
+ bios = "seabios"
+ description = "BunkerWeb Test VM"
+ id = (known after apply)
+ ipv4_addresses = (known after apply)
+ ipv6_addresses = (known after apply)
+ keyboard_layout = "en-us"
+ mac_addresses = (known after apply)
+ migrate = false
+ name = "bunkerweb-test"
+ network_interface_names = (known after apply)
+ node_name = "loki"
+ on_boot = true
+ protection = false
+ reboot = false
+ scsi_hardware = "virtio-scsi-pci"
+ started = true
+ stop_on_destroy = false
+ tablet_device = true
+ tags = [
+ "terraform",
]
+ template = false
+ timeout_clone = 1800
+ timeout_create = 1800
+ timeout_migrate = 1800
+ timeout_move_disk = 1800
+ timeout_reboot = 1800
+ timeout_shutdown_vm = 1800
+ timeout_start_vm = 1800
+ timeout_stop_vm = 300
+ vm_id = 301
+ agent {
+ enabled = true
+ timeout = "15m"
+ trim = false
+ type = "virtio"
}
+ cpu {
+ architecture = "x86_64"
+ cores = 1
+ hotplugged = 0
+ limit = 0
+ numa = false
+ sockets = 1
+ type = "host"
+ units = 1024
}
+ disk {
+ aio = "io_uring"
+ backup = true
+ cache = "none"
+ datastore_id = "local-lvm"
+ discard = "on"
+ file_format = (known after apply)
+ file_id = "local:iso/jammy-server-cloudimg-amd64.img"
+ interface = "virtio0"
+ iothread = true
+ path_in_datastore = (known after apply)
+ replicate = true
+ size = 8
+ ssd = false
}
+ initialization {
+ datastore_id = "local-lvm"
+ upgrade = (known after apply)
+ user_data_file_id = (known after apply)
+ ip_config {
+ ipv4 {
+ address = "10.151.14.201/24"
+ gateway = "10.151.14.1"
}
}
}
+ memory {
+ dedicated = 4096
+ floating = 0
+ keep_hugepages = false
+ shared = 0
}
+ network_device {
+ bridge = "vmbr0"
+ enabled = true
+ firewall = false
+ mac_address = (known after apply)
+ model = "virtio"
+ mtu = 0
+ queues = 0
+ rate_limit = 0
+ vlan_id = 0
}
+ operating_system {
+ type = "l26"
}
+ startup {
+ down_delay = -1
+ order = 1
+ up_delay = 1
}
}
Plan: 2 to add, 0 to change, 0 to destroy. ℹ️ Objects have changed outside of TerraformThis feature was introduced from Terraform v0.15.4. Terraform detected the following changes made outside of Terraform since the
last "terraform apply" which may have affected this plan:
# module.tiny_virtual_machines["npm-test"].proxmox_virtual_environment_vm.vm has changed
~ resource "proxmox_virtual_environment_vm" "vm" {
id = "300"
~ mac_addresses = [
# (1 unchanged element hidden)
"BC:24:11:5D:E9:1B",
+ "02:42:EF:D6:79:51",
+ "02:42:E0:39:3B:56",
+ "02:42:CE:F7:8E:95",
+ "5E:17:25:DC:31:49",
+ "A6:7A:5A:52:E3:EE",
+ "22:D0:04:F2:57:7C",
]
name = "npm-test"
tags = [
"terraform",
]
# (28 unchanged attributes hidden)
# (8 unchanged blocks hidden)
}
Unless you have made equivalent changes to your configuration, or ignored the |
Plan Result (prod_dns)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 LGTM! beep boop
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.