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 a default Pretalx db #68

Closed strugee closed 6 months ago

seagl-atlantis[bot] commented 6 months ago

Ran Plan for 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: -/+ destroy and then create replacement Terraform will perform the following actions: # aws_db_instance.pretalx must be replaced -/+ resource "aws_db_instance" "pretalx" { ~ address = "pretalx-prod.cb9rwfwqojnn.us-west-2.rds.amazonaws.com" -> (known after apply) ~ arn = "arn:aws:rds:us-west-2:663166083306:db:pretalx-prod" -> (known after apply) ~ availability_zone = "us-west-2c" -> (known after apply) ~ backup_window = "09:32-10:02" -> (known after apply) + character_set_name = (known after apply) - customer_owned_ip_enabled = false -> null + db_name = "pretalx" # forces replacement - deletion_protection = false -> null - enabled_cloudwatch_logs_exports = [] -> null ~ endpoint = "pretalx-prod.cb9rwfwqojnn.us-west-2.rds.amazonaws.com:5432" -> (known after apply) ~ engine_version_actual = "13.14" -> (known after apply) ~ hosted_zone_id = "Z1PVIF0B656C1W" -> (known after apply) - iam_database_authentication_enabled = false -> null ~ id = "pretalx-prod" -> (known after apply) + identifier_prefix = (known after apply) ~ iops = 0 -> (known after apply) + kms_key_id = (known after apply) ~ latest_restorable_time = "2024-05-08T00:19:44Z" -> (known after apply) ~ license_model = "postgresql-license" -> (known after apply) ~ listener_endpoint = [] -> (known after apply) ~ maintenance_window = "tue:12:18-tue:12:48" -> (known after apply) ~ master_user_secret = [ - { - kms_key_id = "arn:aws:kms:us-west-2:663166083306:key/2e7fcda1-9242-47e7-a577-213b55f7c0b8" - secret_arn = "arn:aws:secretsmanager:us-west-2:663166083306:secret:rds!db-5b8f0348-6649-4f16-a235-601ff05c0ffd-r9izRb" - secret_status = "active" }, ] -> (known after apply) + master_user_secret_kms_key_id = (known after apply) + monitoring_role_arn = (known after apply) ~ multi_az = false -> (known after apply) + name = (known after apply) + nchar_character_set_name = (known after apply) ~ network_type = "IPV4" -> (known after apply) ~ option_group_name = "default:postgres-13" -> (known after apply) ~ parameter_group_name = "default.postgres13" -> (known after apply) + performance_insights_kms_key_id = (known after apply) ~ performance_insights_retention_period = 0 -> (known after apply) ~ port = 5432 -> (known after apply) + replica_mode = (known after apply) ~ replicas = [] -> (known after apply) ~ resource_id = "db-WAQKWXGYJ3UV5H3ZV33JXSELHE" -> (known after apply) - security_group_names = [] -> null + snapshot_identifier = (known after apply) ~ status = "available" -> (known after apply) - storage_encrypted = false -> null ~ storage_throughput = 0 -> (known after apply) ~ storage_type = "gp2" -> (known after apply) - tags = {} -> null ~ tags_all = {} -> (known after apply) + timezone = (known after apply) # (20 unchanged attributes hidden) } Plan: 1 to add, 0 to change, 1 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 7 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -d .` * :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 -d .`

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


strugee commented 6 months ago

atlantis apply

seagl-atlantis[bot] commented 6 months ago

Ran Apply for dir: . workspace: default

Apply Error

running "/usr/local/bin/terraform apply -input=false \"/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/68/default/default.tfplan\"" in "/home/atlantis/.atlantis/repos/SeaGL/seagl-terraform/68/default": exit status 1
aws_db_instance.pretalx: Destroying... [id=pretalx-prod]
╷
│ Error: final_snapshot_identifier is required when skip_final_snapshot is false
│ 
│ 
╵
strugee commented 6 months ago

atlantis plan

seagl-atlantis[bot] commented 6 months ago

Ran Plan for 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: # aws_db_instance.pretalx will be created + resource "aws_db_instance" "pretalx" { + address = (known after apply) + allocated_storage = 10 + apply_immediately = false + arn = (known after apply) + auto_minor_version_upgrade = true + availability_zone = (known after apply) + backup_retention_period = 7 + backup_window = (known after apply) + ca_cert_identifier = "rds-ca-rsa2048-g1" + character_set_name = (known after apply) + copy_tags_to_snapshot = false + db_name = "pretalx" + db_subnet_group_name = "pretalx-prod" + delete_automated_backups = true + endpoint = (known after apply) + engine = "postgres" + engine_version = "13.14" + engine_version_actual = (known after apply) + hosted_zone_id = (known after apply) + id = (known after apply) + identifier = "pretalx-prod" + identifier_prefix = (known after apply) + instance_class = "db.t4g.micro" + iops = (known after apply) + kms_key_id = (known after apply) + latest_restorable_time = (known after apply) + license_model = (known after apply) + listener_endpoint = (known after apply) + maintenance_window = (known after apply) + manage_master_user_password = true + master_user_secret = (known after apply) + master_user_secret_kms_key_id = (known after apply) + max_allocated_storage = 100 + monitoring_interval = 0 + monitoring_role_arn = (known after apply) + multi_az = (known after apply) + name = (known after apply) + nchar_character_set_name = (known after apply) + network_type = (known after apply) + option_group_name = (known after apply) + parameter_group_name = (known after apply) + performance_insights_enabled = false + performance_insights_kms_key_id = (known after apply) + performance_insights_retention_period = (known after apply) + port = (known after apply) + publicly_accessible = false + replica_mode = (known after apply) + replicas = (known after apply) + resource_id = (known after apply) + skip_final_snapshot = false + snapshot_identifier = (known after apply) + status = (known after apply) + storage_throughput = (known after apply) + storage_type = (known after apply) + tags_all = (known after apply) + timezone = (known after apply) + username = "pretalxadmin" + vpc_security_group_ids = [ + "sg-0716becbd9c8081d9", ] } 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 7 more similar warnings elsewhere) ╵ ``` * :arrow_forward: To **apply** this plan, comment: * `atlantis apply -d .` * :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 -d .`

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


strugee commented 6 months ago

atlantis apply

seagl-atlantis[bot] commented 6 months ago

Ran Apply for dir: . workspace: default

Show Output ```diff aws_db_instance.pretalx: Creating... aws_db_instance.pretalx: Still creating... [10s elapsed] aws_db_instance.pretalx: Still creating... [20s elapsed] aws_db_instance.pretalx: Still creating... [30s elapsed] aws_db_instance.pretalx: Still creating... [40s elapsed] aws_db_instance.pretalx: Still creating... [50s elapsed] aws_db_instance.pretalx: Still creating... [1m0s elapsed] aws_db_instance.pretalx: Still creating... [1m10s elapsed] aws_db_instance.pretalx: Still creating... [1m20s elapsed] aws_db_instance.pretalx: Still creating... [1m30s elapsed] aws_db_instance.pretalx: Still creating... [1m40s elapsed] aws_db_instance.pretalx: Still creating... [1m50s elapsed] aws_db_instance.pretalx: Still creating... [2m0s elapsed] aws_db_instance.pretalx: Still creating... [2m10s elapsed] aws_db_instance.pretalx: Still creating... [2m20s elapsed] aws_db_instance.pretalx: Still creating... [2m30s elapsed] aws_db_instance.pretalx: Still creating... [2m40s elapsed] aws_db_instance.pretalx: Still creating... [2m50s elapsed] aws_db_instance.pretalx: Still creating... [3m0s elapsed] aws_db_instance.pretalx: Still creating... [3m10s elapsed] aws_db_instance.pretalx: Still creating... [3m20s elapsed] aws_db_instance.pretalx: Still creating... [3m30s elapsed] aws_db_instance.pretalx: Still creating... [3m40s elapsed] aws_db_instance.pretalx: Still creating... [3m50s elapsed] aws_db_instance.pretalx: Still creating... [4m0s elapsed] aws_db_instance.pretalx: Still creating... [4m10s elapsed] aws_db_instance.pretalx: Still creating... [4m20s elapsed] aws_db_instance.pretalx: Still creating... [4m30s elapsed] aws_db_instance.pretalx: Still creating... [4m40s elapsed] aws_db_instance.pretalx: Still creating... [4m50s elapsed] aws_db_instance.pretalx: Still creating... [5m0s elapsed] aws_db_instance.pretalx: Still creating... [5m10s elapsed] aws_db_instance.pretalx: Still creating... [5m20s elapsed] aws_db_instance.pretalx: Still creating... [5m30s elapsed] aws_db_instance.pretalx: Still creating... [5m40s elapsed] aws_db_instance.pretalx: Still creating... [5m50s elapsed] aws_db_instance.pretalx: Still creating... [6m0s elapsed] aws_db_instance.pretalx: Still creating... [6m10s elapsed] aws_db_instance.pretalx: Still creating... [6m20s elapsed] aws_db_instance.pretalx: Still creating... [6m30s elapsed] aws_db_instance.pretalx: Still creating... [6m40s elapsed] aws_db_instance.pretalx: Still creating... [6m50s elapsed] aws_db_instance.pretalx: Still creating... [7m0s elapsed] aws_db_instance.pretalx: Still creating... [7m10s elapsed] aws_db_instance.pretalx: Still creating... [7m20s elapsed] aws_db_instance.pretalx: Still creating... [7m30s elapsed] aws_db_instance.pretalx: Still creating... [7m40s elapsed] aws_db_instance.pretalx: Still creating... [7m50s elapsed] aws_db_instance.pretalx: Still creating... [8m0s elapsed] aws_db_instance.pretalx: Still creating... [8m10s elapsed] aws_db_instance.pretalx: Creation complete after 8m19s [id=pretalx-prod] Apply complete! Resources: 1 added, 0 changed, 0 destroyed. ```
seagl-atlantis[bot] commented 6 months ago

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