TMEIT / website

A new website created by and for TMEIT
GNU Affero General Public License v3.0
7 stars 2 forks source link

Regen prod server #140

Closed JustinLex closed 2 years ago

github-actions[bot] commented 2 years ago

Terraform Lint/Plan Results

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Plan 📖success

Terraform Validation 🤖success

Show Plan ``` terraform hcloud_server.testnode: Refreshing state... [id=24948828] b2_bucket.terraform-state: Refreshing state... [id=c33185c9297d9b5484380d18] tls_private_key.terraform_access: Refreshing state... [id=ca7f120683c884d7607764350d41aebb404d6c46] hcloud_firewall.myfirewall: Refreshing state... [id=572118] random_string.node_pw: Refreshing state... [id=2[!Z$2IH)8McD8w6nQ5O] cloudflare_record.mail2: Refreshing state... [id=c78cc2decba919dad8217743abd62989] cloudflare_record.root-a: Refreshing state... [id=67230061c420690e1f793d5d726fa686] cloudflare_record.autoconfig: Refreshing state... [id=3ca8d6de06c9aae66aca44e0bb5079c1] cloudflare_record.webmail: Refreshing state... [id=92cc6bd02b7b112d11af16f18d5c815d] cloudflare_record.pop3: Refreshing state... [id=79e78be342d88f80bcf9d70d39894016] cloudflare_record.imap: Refreshing state... [id=d4ae42ddae72f1147a2df7642d7645f3] cloudflare_record._autodiscover_tcp: Refreshing state... [id=36164efc00022c3f9b8b27d575934d5d] cloudflare_record.www-a: Refreshing state... [id=e028ff3b7e92c846ef6974e92fcf35ce] cloudflare_record.mx-1: Refreshing state... [id=01b1e5831a61d592bb2a1fb51fc40a47] cloudflare_zone_settings_override.tmeit-se-settings: Refreshing state... [id=6a806c0199e15cdf23bb3017a90bf149] cloudflare_record.webbmail: Refreshing state... [id=9f7382c9785e528b7208812bed2d3b7e] cloudflare_record.smtp: Refreshing state... [id=26a5f1718c42bcbad2e9b062f5f2e35b] cloudflare_record.node1: Refreshing state... [id=9a6f412e987c73188f0d31928ce12827] cloudflare_record.mail: Refreshing state... [id=775a07ffa6de86a6889c797e09d6a44f] cloudflare_record.mx-2: Refreshing state... [id=7539dc716260bb768658d6b61e54740e] cloudflare_record.www-aaaa: Refreshing state... [id=9f7b0d63a18b5513abb8db23ce62cd46] cloudflare_record.root-aaaa: Refreshing state... [id=eec58a7b6d17f1a40f411efb35d4da22] Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place - destroy -/+ destroy and then create replacement Terraform will perform the following actions: # cloudflare_record._autodiscover_tcp will be destroyed # (because cloudflare_record._autodiscover_tcp is not in configuration) - resource "cloudflare_record" "_autodiscover_tcp" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:05.899218Z" -> null - hostname = "_autodiscover._tcp.tmeit.se" -> null - id = "36164efc00022c3f9b8b27d575934d5d" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:05.899218Z" -> null - name = "_autodiscover._tcp" -> null - priority = 100 -> null - proxiable = false -> null - proxied = false -> null - ttl = 3600 -> null - type = "SRV" -> null - value = "1\t443\tautodiscover.loopia.com.tmeit.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null - data { - algorithm = 0 -> null - altitude = 0 -> null - digest_type = 0 -> null - key_tag = 0 -> null - lat_degrees = 0 -> null - lat_minutes = 0 -> null - lat_seconds = 0 -> null - long_degrees = 0 -> null - long_minutes = 0 -> null - long_seconds = 0 -> null - matching_type = 0 -> null - name = "tmeit.se" -> null - order = 0 -> null - port = 443 -> null - precision_horz = 0 -> null - precision_vert = 0 -> null - preference = 0 -> null - priority = 100 -> null - proto = "_tcp" -> null - protocol = 0 -> null - selector = 0 -> null - service = "_autodiscover" -> null - size = 0 -> null - target = "autodiscover.loopia.com.tmeit.se" -> null - type = 0 -> null - usage = 0 -> null - weight = 1 -> null } } # cloudflare_record.autoconfig will be destroyed # (because cloudflare_record.autoconfig is not in configuration) - resource "cloudflare_record" "autoconfig" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:07.641043Z" -> null - hostname = "autoconfig.tmeit.se" -> null - id = "3ca8d6de06c9aae66aca44e0bb5079c1" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:07.641043Z" -> null - name = "autoconfig" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "autoconfig.loopia.com" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.imap will be destroyed # (because cloudflare_record.imap is not in configuration) - resource "cloudflare_record" "imap" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:09.577702Z" -> null - hostname = "imap.tmeit.se" -> null - id = "d4ae42ddae72f1147a2df7642d7645f3" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:09.577702Z" -> null - name = "imap" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "mailcluster.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.mail will be destroyed # (because cloudflare_record.mail is not in configuration) - resource "cloudflare_record" "mail" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:05.192708Z" -> null - hostname = "mail.tmeit.se" -> null - id = "775a07ffa6de86a6889c797e09d6a44f" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:05.192708Z" -> null - name = "mail" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "mailcluster.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.mail2 will be destroyed # (because cloudflare_record.mail2 is not in configuration) - resource "cloudflare_record" "mail2" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:05.418196Z" -> null - hostname = "mail2.tmeit.se" -> null - id = "c78cc2decba919dad8217743abd62989" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:05.418196Z" -> null - name = "mail2" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "mail2.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.node1 will be destroyed # (because cloudflare_record.node1 is not in configuration) - resource "cloudflare_record" "node1" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:21.069286Z" -> null - hostname = "node1.tmeit.se" -> null - id = "9a6f412e987c73188f0d31928ce12827" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T23:20:27.005012Z" -> null - name = "node1" -> null - proxiable = true -> null - proxied = true -> null - ttl = 1 -> null - type = "AAAA" -> null - value = "2a01:4f9:c012:4817::1" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.pop3 will be destroyed # (because cloudflare_record.pop3 is not in configuration) - resource "cloudflare_record" "pop3" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:04.406892Z" -> null - hostname = "pop3.tmeit.se" -> null - id = "79e78be342d88f80bcf9d70d39894016" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:04.406892Z" -> null - name = "pop3" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "mailcluster.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.root-a will be destroyed # (because cloudflare_record.root-a is not in configuration) - resource "cloudflare_record" "root-a" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:10.006936Z" -> null - hostname = "tmeit.se" -> null - id = "67230061c420690e1f793d5d726fa686" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:10.006936Z" -> null - name = "@" -> null - proxiable = true -> null - proxied = true -> null - ttl = 1 -> null - type = "A" -> null - value = "93.188.2.54" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.root-aaaa will be updated in-place ~ resource "cloudflare_record" "root-aaaa" { id = "eec58a7b6d17f1a40f411efb35d4da22" name = "@" ~ value = "2a02:250:0:8::52" -> (known after apply) # (10 unchanged attributes hidden) } # cloudflare_record.smtp will be destroyed # (because cloudflare_record.smtp is not in configuration) - resource "cloudflare_record" "smtp" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:09.577456Z" -> null - hostname = "smtp.tmeit.se" -> null - id = "26a5f1718c42bcbad2e9b062f5f2e35b" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:09.577456Z" -> null - name = "smtp" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "mailcluster.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.webbmail will be destroyed # (because cloudflare_record.webbmail is not in configuration) - resource "cloudflare_record" "webbmail" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:03.932306Z" -> null - hostname = "webbmail.tmeit.se" -> null - id = "9f7382c9785e528b7208812bed2d3b7e" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:03.932306Z" -> null - name = "webbmail" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "webmail.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.webmail will be destroyed # (because cloudflare_record.webmail is not in configuration) - resource "cloudflare_record" "webmail" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:04.942295Z" -> null - hostname = "webmail.tmeit.se" -> null - id = "92cc6bd02b7b112d11af16f18d5c815d" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:04.942295Z" -> null - name = "webmail" -> null - proxiable = true -> null - proxied = false -> null - ttl = 1 -> null - type = "CNAME" -> null - value = "webmail.loopia.se" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.www-a will be destroyed # (because cloudflare_record.www-a is not in configuration) - resource "cloudflare_record" "www-a" { - allow_overwrite = false -> null - created_on = "2022-10-23T22:26:09.838384Z" -> null - hostname = "www.tmeit.se" -> null - id = "e028ff3b7e92c846ef6974e92fcf35ce" -> null - metadata = { - "auto_added" = "false" - "managed_by_apps" = "false" - "managed_by_argo_tunnel" = "false" - "source" = "primary" } -> null - modified_on = "2022-10-23T22:26:09.838384Z" -> null - name = "www" -> null - proxiable = true -> null - proxied = true -> null - ttl = 1 -> null - type = "A" -> null - value = "93.188.2.54" -> null - zone_id = "6a806c0199e15cdf23bb3017a90bf149" -> null } # cloudflare_record.www-aaaa will be updated in-place ~ resource "cloudflare_record" "www-aaaa" { id = "9f7b0d63a18b5513abb8db23ce62cd46" name = "www" ~ value = "2a02:250:0:8::52" -> (known after apply) # (10 unchanged attributes hidden) } # hcloud_rdns.node1_ipv4 will be created + resource "hcloud_rdns" "node1_ipv4" { + dns_ptr = "tmeit.se" + id = (known after apply) + ip_address = (known after apply) + server_id = (known after apply) } # hcloud_rdns.node1_ipv6 will be created + resource "hcloud_rdns" "node1_ipv6" { + dns_ptr = "tmeit.se" + id = (known after apply) + ip_address = (known after apply) + server_id = (known after apply) } # hcloud_server.node1 will be created + resource "hcloud_server" "node1" { + allow_deprecated_images = false + backup_window = (known after apply) + backups = false + datacenter = (known after apply) + delete_protection = false + firewall_ids = [ + 572118, ] + id = (known after apply) + ignore_remote_firewall_ids = false + image = "debian-11" + ipv4_address = (known after apply) + ipv6_address = (known after apply) + ipv6_network = (known after apply) + keep_disk = false + location = "hel1" + name = "node1" + rebuild_protection = false + server_type = "cx11" + status = (known after apply) + user_data = (known after apply) + public_net { + ipv4 = (known after apply) + ipv4_enabled = true + ipv6 = (known after apply) + ipv6_enabled = true } } # hcloud_server.testnode will be destroyed # (because hcloud_server.testnode is not in configuration) - resource "hcloud_server" "testnode" { - allow_deprecated_images = false -> null - backups = false -> null - datacenter = "hel1-dc2" -> null - delete_protection = false -> null - firewall_ids = [ - 572118, ] -> null - id = "24948828" -> null - ignore_remote_firewall_ids = false -> null - image = "debian-11" -> null - ipv4_address = "65.21.151.90" -> null - ipv6_address = "2a01:4f9:c012:4817::1" -> null - ipv6_network = "2a01:4f9:c012:4817::/64" -> null - keep_disk = false -> null - labels = {} -> null - location = "hel1" -> null - name = "testnode" -> null - rebuild_protection = false -> null - server_type = "cx11" -> null - status = "running" -> null - user_data = "IVKD1JQZNKmc2Pacyh1Z425ON0g=" -> null - public_net { - ipv4 = 0 -> null - ipv4_enabled = true -> null - ipv6 = 0 -> null - ipv6_enabled = true -> null } } # random_string.node_pw will be destroyed # (because random_string.node_pw is not in configuration) - resource "random_string" "node_pw" { - id = "2[!Z$2IH)8McD8w6nQ5O" -> null - length = 20 -> null - lower = true -> null - min_lower = 0 -> null - min_numeric = 0 -> null - min_special = 0 -> null - min_upper = 0 -> null - number = true -> null - numeric = true -> null - result = "2[!Z$2IH)8McD8w6nQ5O" -> null - special = true -> null - upper = true -> null } # tls_private_key.terraform_access is tainted, so must be replaced -/+ resource "tls_private_key" "terraform_access" { ~ id = "ca7f120683c884d7607764350d41aebb404d6c46" -> (known after apply) ~ private_key_openssh = (sensitive value) ~ private_key_pem = (sensitive value) ~ private_key_pem_pkcs8 = (sensitive value) ~ public_key_fingerprint_md5 = "9d:84:87:02:ee:43:7b:09:51:06:56:9c:f0:76:00:30" -> (known after apply) ~ public_key_fingerprint_sha256 = "SHA256:g8dFuy4EOq88gFSyOgagP79DaFiBaSg0XpSBuSscnbY" -> (known after apply) ~ public_key_openssh = <<-EOT ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF0y93nWprTh0ccWR37dyxQsJVSyKeOjd19kNYC9p19B EOT -> (known after apply) ~ public_key_pem = <<-EOT -----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEAXTL3edamtOHRxxZHft3LFCwlVLIp46N3X2Q1gL2nX0E= -----END PUBLIC KEY----- EOT -> (known after apply) # (3 unchanged attributes hidden) } Plan: 4 to add, 2 to change, 15 to destroy. Changes to Outputs: ~ ipv4_address = "65.21.151.90" -> (known after apply) - k3s_channel = "v1.25" -> null # Warning: this attribute value will be marked as sensitive and will not # display in UI output after applying this change. ~ ssh_key = (sensitive value) ───────────────────────────────────────────────────────────────────────────── Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now. ```

Pushed by: @JustinLex, Action: pull_request