SeaGL / seagl-terraform

Terraform used to maintain SeaGL's VMs, RDS database, DNS, etc.
GNU Affero General Public License v3.0
1 stars 2 forks source link

Create 2024 ephemeral homeserver host #81

Closed strugee closed 1 month ago

seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

Show Output ``` running "/usr/local/bin/terraform init -input=false" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 Initializing the backend... Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. Initializing modules... - prod_db in osem_rds - production_env in env - production_env.dokku-vm in simple_vm - production_env.mailu-vm in simple_vm ╷ │ Error: Invalid module instance name │ │ on env/ephemeral-homeserver.tf line 1, in module "2024-homeserver-vm": │ 1: module "2024-homeserver-vm" { │ │ A name must start with a letter or underscore and may contain only letters, │ digits, underscores, and dashes. ╵ ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for project: seagl dir: . workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create ~ update in-place Terraform will perform the following actions: # aws_db_instance.pretalx will be updated in-place ~ resource "aws_db_instance" "pretalx" { ~ engine_version = "13.15" -> "13.14" id = "pretalx-prod" name = "pretalx" tags = {} # (51 unchanged attributes hidden) } # aws_instance.dokku will be updated in-place ~ resource "aws_instance" "dokku" { id = "i-02ee81d4bd0860d30" ~ instance_type = "t3.medium" -> "t3.small" tags = { "Name" = "dokku" } + user_data_replace_on_change = false # (30 unchanged attributes hidden) # (8 unchanged blocks hidden) } # module.production_env.module.matrix-2024-homeserver-vm.aws_route53_record.dns-a will be created + resource "aws_route53_record" "dns-a" { + allow_overwrite = (known after apply) + fqdn = (known after apply) + id = (known after apply) + name = "2024-ephemeral.host.seagl.org" + records = (known after apply) + ttl = 300 + type = "A" + zone_id = "Z0173878287JIU5M4KB8R" } # module.production_env.module.matrix-2024-homeserver-vm.openstack_compute_instance_v2.instance will be created + resource "openstack_compute_instance_v2" "instance" { + access_ip_v4 = (known after apply) + access_ip_v6 = (known after apply) + all_metadata = (known after apply) + all_tags = (known after apply) + availability_zone = (known after apply) + created = (known after apply) + flavor_id = (known after apply) + flavor_name = "m1.medium" + force_delete = false + id = (known after apply) + image_id = (known after apply) + image_name = (known after apply) + key_pair = "AJ OpenStack bootstrap" + name = "2024-ephemeral" + power_state = "active" + region = (known after apply) + security_groups = [ + "2024-ephemeral", ] + stop_before_destroy = false + updated = (known after apply) + user_data = "ce58ac6040dd5ef465c704b49ba6d6600287333a" + block_device { + delete_on_termination = true + destination_type = "volume" + multiattach = false + source_type = "image" + uuid = "9883486d-86b1-493c-9bc8-57f9ef78c8c4" + volume_size = 30 } + network { + access_network = false + fixed_ip_v4 = (known after apply) + fixed_ip_v6 = (known after apply) + floating_ip = (known after apply) + mac = (known after apply) + name = "general_servers2" + port = (known after apply) + uuid = (known after apply) } } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.icmp4-ingress will be created + resource "openstack_networking_secgroup_rule_v2" "icmp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = "icmp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.ipv4-egress will be created + resource "openstack_networking_secgroup_rule_v2" "ipv4-egress" { + direction = "egress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = (known after apply) + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = (known after apply) + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.ipv6-egress will be created + resource "openstack_networking_secgroup_rule_v2" "ipv6-egress" { + direction = "egress" + ethertype = "IPv6" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = (known after apply) + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = (known after apply) + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 22 + port_range_min = 22 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["443"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 443 + port_range_min = 443 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["80"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 80 + port_range_min = 80 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["8448"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 8448 + port_range_min = 8448 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024-homeserver-vm.openstack_networking_secgroup_v2.main-sg will be created + resource "openstack_networking_secgroup_v2" "main-sg" { + all_tags = (known after apply) + delete_default_rules = true + description = (known after apply) + id = (known after apply) + name = "2024-ephemeral" + region = (known after apply) + tenant_id = (known after apply) } Plan: 10 to add, 2 to change, 0 to destroy. ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 5 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -p seagl` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.seagl.org/lock?id=SeaGL%252Fseagl-terraform%252F.%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -p seagl`

Plan: 10 to add, 2 to change, 0 to destroy.


seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

Show Output ``` running "/usr/local/bin/terraform init -input=false" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 Initializing the backend... Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. Initializing modules... - prod_db in osem_rds - production_env in env - production_env.dokku-vm in simple_vm ╷ │ Error: Unreadable module directory │ │ Unable to evaluate directory symlink: lstat ephemeral_homeserver/simple_vm: │ no such file or directory ╵ ╷ │ Error: Unreadable module directory │ │ The directory could not be read for module "vm" at │ ephemeral_homeserver/main.tf:1. ╵ - production_env.mailu-vm in simple_vm - production_env.matrix-2024 in ephemeral_homeserver - production_env.matrix-2024.vm in ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

Show Output ``` running "/usr/local/bin/terraform init -input=false" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 Initializing the backend... Successfully configured the backend "s3"! Terraform will automatically use this backend unless the backend configuration changes. Initializing modules... - prod_db in osem_rds - production_env in env - production_env.dokku-vm in simple_vm - production_env.mailu-vm in simple_vm - production_env.matrix-2024 in ephemeral_homeserver - production_env.matrix-2024.vm in ╷ │ Error: Unreadable module directory │ │ Unable to evaluate directory symlink: lstat ephemeral_homeserver/simple_vm: │ no such file or directory ╵ ╷ │ Error: Unreadable module directory │ │ The directory could not be read for module "vm" at │ ephemeral_homeserver/main.tf:1. ╵ ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

running "/usr/local/bin/terraform plan -input=false -refresh -out \"/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default/seagl-default.tfplan\"" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1
╷
│ Error: Missing required argument
│ 
│   on env/ephemeral-homeserver.tf line 1, in module "matrix-2024":
│    1: module "matrix-2024" {
│ 
│ The argument "dns_zone" is required, but no definition was found.
╵
seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

Show Output ``` running "/usr/local/bin/terraform plan -input=false -refresh -out \"/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default/seagl-default.tfplan\"" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 2 more similar warnings elsewhere) ╵ ╷ │ Error: Missing required argument │ │ on ephemeral_homeserver/main.tf line 17, in resource "aws_route53_record" "dns-a": │ 17: alias { │ │ The argument "evaluate_target_health" is required, but no definition was │ found. ╵ ╷ │ Error: Unsupported attribute │ │ on ephemeral_homeserver/main.tf line 19, in resource "aws_route53_record" "dns-a": │ 19: zone_id = var.dns_zone.id │ ├──────────────── │ │ var.dns_zone is a object │ │ This object does not have an attribute named "id". ╵ ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

Show Output ``` running "/usr/local/bin/terraform plan -input=false -refresh -out \"/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default/seagl-default.tfplan\"" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 2 more similar warnings elsewhere) ╵ ╷ │ Error: Unsupported attribute │ │ on ephemeral_homeserver/main.tf line 19, in resource "aws_route53_record" "dns-a": │ 19: zone_id = var.dns_zone.id │ ├──────────────── │ │ var.dns_zone is a object │ │ This object does not have an attribute named "id". ╵ ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for project: seagl dir: . workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # module.production_env.module.matrix-2024.aws_route53_record.dns-a will be created + resource "aws_route53_record" "dns-a" { + allow_overwrite = (known after apply) + fqdn = (known after apply) + id = (known after apply) + name = "2024.seagl.org" + type = "A" + zone_id = "Z0173878287JIU5M4KB8R" + alias { + evaluate_target_health = false + name = "2024.seagl.org" + zone_id = "Z0173878287JIU5M4KB8R" } } # module.production_env.module.matrix-2024.module.vm.aws_route53_record.dns-a will be created + resource "aws_route53_record" "dns-a" { + allow_overwrite = (known after apply) + fqdn = (known after apply) + id = (known after apply) + name = "2024-ephemeral.host.seagl.org" + records = (known after apply) + ttl = 300 + type = "A" + zone_id = "Z0173878287JIU5M4KB8R" } # module.production_env.module.matrix-2024.module.vm.openstack_compute_instance_v2.instance will be created + resource "openstack_compute_instance_v2" "instance" { + access_ip_v4 = (known after apply) + access_ip_v6 = (known after apply) + all_metadata = (known after apply) + all_tags = (known after apply) + availability_zone = (known after apply) + created = (known after apply) + flavor_id = (known after apply) + flavor_name = "m1.medium" + force_delete = false + id = (known after apply) + image_id = (known after apply) + image_name = (known after apply) + key_pair = "AJ OpenStack bootstrap" + name = "2024-ephemeral" + power_state = "active" + region = (known after apply) + security_groups = [ + "2024-ephemeral", ] + stop_before_destroy = false + updated = (known after apply) + user_data = "ce58ac6040dd5ef465c704b49ba6d6600287333a" + block_device { + delete_on_termination = true + destination_type = "volume" + multiattach = false + source_type = "image" + uuid = "9883486d-86b1-493c-9bc8-57f9ef78c8c4" + volume_size = 30 } + network { + access_network = false + fixed_ip_v4 = (known after apply) + fixed_ip_v6 = (known after apply) + floating_ip = (known after apply) + mac = (known after apply) + name = "general_servers2" + port = (known after apply) + uuid = (known after apply) } } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.icmp4-ingress will be created + resource "openstack_networking_secgroup_rule_v2" "icmp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = "icmp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.ipv4-egress will be created + resource "openstack_networking_secgroup_rule_v2" "ipv4-egress" { + direction = "egress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = (known after apply) + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = (known after apply) + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.ipv6-egress will be created + resource "openstack_networking_secgroup_rule_v2" "ipv6-egress" { + direction = "egress" + ethertype = "IPv6" + id = (known after apply) + port_range_max = (known after apply) + port_range_min = (known after apply) + protocol = (known after apply) + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = (known after apply) + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 22 + port_range_min = 22 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["443"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 443 + port_range_min = 443 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["80"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 80 + port_range_min = 80 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["8448"] will be created + resource "openstack_networking_secgroup_rule_v2" "tcp4-ingress" { + direction = "ingress" + ethertype = "IPv4" + id = (known after apply) + port_range_max = 8448 + port_range_min = 8448 + protocol = "tcp" + region = (known after apply) + remote_group_id = (known after apply) + remote_ip_prefix = "0.0.0.0/0" + security_group_id = (known after apply) + tenant_id = (known after apply) } # module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_v2.main-sg will be created + resource "openstack_networking_secgroup_v2" "main-sg" { + all_tags = (known after apply) + delete_default_rules = true + description = (known after apply) + id = (known after apply) + name = "2024-ephemeral" + region = (known after apply) + tenant_id = (known after apply) } Plan: 11 to add, 0 to change, 0 to destroy. ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 5 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -p seagl` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.seagl.org/lock?id=SeaGL%252Fseagl-terraform%252F.%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -p seagl`

Plan: 11 to add, 0 to change, 0 to destroy.


strugee commented 1 month ago

atlantis apply

seagl-atlantis[bot] commented 1 month ago

Ran Apply for project: seagl dir: . workspace: default

Apply Error

Show Output ``` running "/usr/local/bin/terraform apply -input=false \"/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default/seagl-default.tfplan\"" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_v2.main-sg: Creating... module.production_env.module.matrix-2024.aws_route53_record.dns-a: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_v2.main-sg: Creation complete after 1s [id=ac473125-8d69-4fda-9c7e-674f6f021220] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.ipv6-egress: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["443"]: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"]: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["8448"]: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.ipv4-egress: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["80"]: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.icmp4-ingress: Creating... module.production_env.module.matrix-2024.module.vm.openstack_compute_instance_v2.instance: Creating... module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.ipv6-egress: Creation complete after 0s [id=2def1a9b-7ffa-4289-a1ed-ef1d2c4c89b2] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["22"]: Creation complete after 0s [id=d2fb2edd-6ee9-4536-8a70-099a70acc5a6] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["443"]: Creation complete after 0s [id=d78ee21e-1138-4576-a13a-0e06df511b5a] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.icmp4-ingress: Creation complete after 1s [id=b84d577e-2bba-46e0-8275-c2c119aa3a65] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["8448"]: Creation complete after 1s [id=b4723117-7795-43db-9261-fdda27114b9b] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.ipv4-egress: Creation complete after 1s [id=82cbfd5f-15c4-4152-a4e9-e7de08740a3a] module.production_env.module.matrix-2024.module.vm.openstack_networking_secgroup_rule_v2.tcp4-ingress["80"]: Creation complete after 1s [id=455be602-1a29-428a-a6ed-8d69b5a7a89a] module.production_env.module.matrix-2024.module.vm.openstack_compute_instance_v2.instance: Still creating... [10s elapsed] module.production_env.module.matrix-2024.module.vm.openstack_compute_instance_v2.instance: Creation complete after 15s [id=6f0cbe4a-95e6-4901-8eaa-669471920aec] module.production_env.module.matrix-2024.module.vm.aws_route53_record.dns-a: Creating... module.production_env.module.matrix-2024.module.vm.aws_route53_record.dns-a: Still creating... [10s elapsed] module.production_env.module.matrix-2024.module.vm.aws_route53_record.dns-a: Still creating... [20s elapsed] module.production_env.module.matrix-2024.module.vm.aws_route53_record.dns-a: Still creating... [30s elapsed] module.production_env.module.matrix-2024.module.vm.aws_route53_record.dns-a: Creation complete after 36s [id=Z0173878287JIU5M4KB8R_2024-ephemeral.host.seagl.org_A] ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. ╵ ╷ │ Error: creating Route 53 Record: InvalidChangeBatch: [Tried to create an alias that targets 2024.seagl.org., type A in zone Z0173878287JIU5M4KB8R, but that target was not found, RRSet of type A with DNS name 2024.seagl.org. is not permitted as it creates a CNAME or alias loop in the zone.] │ status code: 400, request id: 5eb382cc-9829-437b-858d-c6b5cf474456 │ │ with module.production_env.module.matrix-2024.aws_route53_record.dns-a, │ on ephemeral_homeserver/main.tf line 11, in resource "aws_route53_record" "dns-a": │ 11: resource "aws_route53_record" "dns-a" { │ ╵ ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for dir: . workspace: default

Plan Error

Show Output ``` running "/usr/local/bin/terraform plan -input=false -refresh -out \"/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default/seagl-default.tfplan\"" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/81/default": exit status 1 ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 2 more similar warnings elsewhere) ╵ ╷ │ Error: Unsupported attribute │ │ on ephemeral_homeserver/main.tf line 18, in resource "aws_route53_record" "dns-a": │ 18: name = module.vm.hostname │ ├──────────────── │ │ module.vm is a object │ │ This object does not have an attribute named "hostname". ╵ ```
seagl-atlantis[bot] commented 1 month ago

Ran Plan for project: seagl dir: . workspace: default

Show Output ```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # module.production_env.module.matrix-2024.aws_route53_record.dns-a will be created + resource "aws_route53_record" "dns-a" { + allow_overwrite = (known after apply) + fqdn = (known after apply) + id = (known after apply) + name = "2024.seagl.org" + type = "A" + zone_id = "Z0173878287JIU5M4KB8R" + alias { + evaluate_target_health = false + name = "2024-ephemeral.host.seagl.org" + zone_id = "Z0173878287JIU5M4KB8R" } } Plan: 1 to add, 0 to change, 0 to destroy. ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. │ │ (and 5 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -p seagl` * :put_litter_in_its_place: To **delete** this plan click [here](https://atlantis.seagl.org/lock?id=SeaGL%252Fseagl-terraform%252F.%252Fdefault) * :repeat: To **plan** this project again, comment: * `atlantis plan -p seagl`

Plan: 1 to add, 0 to change, 0 to destroy.


strugee commented 1 month ago

terraform apply

seagl-atlantis[bot] commented 1 month ago

Did you mean to use atlantis instead of terraform?

strugee commented 1 month ago

atlantis apply

seagl-atlantis[bot] commented 1 month ago

Ran Apply for project: seagl dir: . workspace: default

Show Output ```diff module.production_env.module.matrix-2024.aws_route53_record.dns-a: Creating... module.production_env.module.matrix-2024.aws_route53_record.dns-a: Still creating... [10s elapsed] module.production_env.module.matrix-2024.aws_route53_record.dns-a: Still creating... [20s elapsed] module.production_env.module.matrix-2024.aws_route53_record.dns-a: Still creating... [30s elapsed] module.production_env.module.matrix-2024.aws_route53_record.dns-a: Still creating... [40s elapsed] module.production_env.module.matrix-2024.aws_route53_record.dns-a: Creation complete after 42s [id=Z0173878287JIU5M4KB8R_2024.seagl.org_A] ╷ │ Warning: Argument is deprecated │ │ with provider["registry.terraform.io/terraform-provider-openstack/openstack"], │ on provider.tf line 30, in provider "openstack": │ 30: provider "openstack" { │ │ Users not using loadbalancer resources can ignore this message. Support for │ neutron-lbaas will be removed on next major release. Octavia will be the │ only supported method for loadbalancer resources. Users using octavia will │ have to remove 'use_octavia' option from the provider configuration block. │ Users using neutron-lbaas will have to migrate/upgrade to octavia. ╵ Apply complete! Resources: 1 added, 0 changed, 0 destroyed. ```
seagl-atlantis[bot] commented 1 month ago

Automatically merging because all plans have been successfully applied.

seagl-atlantis[bot] commented 1 month ago

Automerging failed:

merging pull request: PUT https://api.github.com/repos/SeaGL/seagl-terraform/pulls/81/merge: 405 Repository rule violations found

At least 1 approving review is required by reviewers with write access.

 []
seagl-atlantis[bot] commented 1 month ago

Locks and plans deleted for the projects and workspaces modified in this pull request: