EddieTheCubeHead / Stagnum

A website utilizing Spotify web API to transfer playback from a queue into a shareable pool.
Other
0 stars 0 forks source link

Update userdata.tftpl #382

Closed ekosfin closed 2 weeks ago

ekosfin commented 2 weeks ago

Enabled automatic docker-compose deployment

Summary

Notable changes

EddieTheCubeHead commented 2 weeks ago

Force merge?

github-actions[bot] commented 2 weeks ago

💰 Infracost report

Monthly cost will not change

This comment will be updated when code changes.

github-actions[bot] commented 2 weeks ago

Terraform Plan Output

Click to expand ```terraform Note: Objects have changed outside of Terraform Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan: # module.ec2_instance.aws_instance.this[0] has changed ~ resource "aws_instance" "this" { id = "i-0a79be48af6cc3f96" tags = { "Environment" = "Prod" "Name" = "Stagnum-stack" "Project" = "Stagnum" "Service" = "Stagnum" "Terraform" = "true" } # (35 unchanged attributes hidden) + ebs_block_device { + delete_on_termination = false + device_name = "/dev/sdd" + encrypted = false + iops = 3000 + tags = {} + tags_all = {} + throughput = 125 + volume_id = "vol-0e43128d7861fd8db" + volume_size = 10 + volume_type = "gp3" } # (9 unchanged blocks hidden) } Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes. ───────────────────────────────────────────────────────────────────────────── Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place -/+ destroy and then create replacement Terraform will perform the following actions: # aws_route53_record.back will be updated in-place ~ resource "aws_route53_record" "back" { id = "Z0480732KREV4NLN9I3F_back.stagnum.net_A" name = "back.stagnum.net" ~ records = [ - "13.60.61.128", ] -> (known after apply) # (5 unchanged attributes hidden) } # aws_route53_record.main will be updated in-place ~ resource "aws_route53_record" "main" { id = "Z0480732KREV4NLN9I3F_stagnum.net_A" name = "stagnum.net" ~ records = [ - "13.60.61.128", ] -> (known after apply) # (5 unchanged attributes hidden) } # aws_route53_record.www will be updated in-place ~ resource "aws_route53_record" "www" { id = "Z0480732KREV4NLN9I3F_www.stagnum.net_A" name = "www.stagnum.net" ~ records = [ - "13.60.61.128", ] -> (known after apply) # (5 unchanged attributes hidden) } # aws_volume_attachment.this must be replaced -/+ resource "aws_volume_attachment" "this" { ~ id = "vai-355827438" -> (known after apply) ~ instance_id = "i-0a79be48af6cc3f96" # forces replacement -> (known after apply) # forces replacement # (2 unchanged attributes hidden) } # module.ec2_instance.aws_instance.this[0] must be replaced -/+ resource "aws_instance" "this" { ~ arn = "arn:aws:ec2:eu-north-1:851725292587:instance/i-0a79be48af6cc3f96" -> (known after apply) ~ cpu_core_count = 1 -> (known after apply) ~ cpu_threads_per_core = 2 -> (known after apply) ~ disable_api_stop = false -> (known after apply) ~ disable_api_termination = false -> (known after apply) ~ ebs_optimized = false -> (known after apply) - hibernation = false -> null + host_id = (known after apply) + host_resource_group_arn = (known after apply) ~ id = "i-0a79be48af6cc3f96" -> (known after apply) ~ instance_initiated_shutdown_behavior = "stop" -> (known after apply) + instance_lifecycle = (known after apply) ~ instance_state = "running" -> (known after apply) ~ ipv6_address_count = 0 -> (known after apply) ~ ipv6_addresses = [] -> (known after apply) + outpost_arn = (known after apply) + password_data = (known after apply) + placement_group = (known after apply) ~ placement_partition_number = 0 -> (known after apply) ~ primary_network_interface_id = "eni-0f702668786281c6a" -> (known after apply) ~ private_dns = "ip-10-0-1-76.eu-north-1.compute.internal" -> (known after apply) ~ private_ip = "10.0.1.76" -> (known after apply) ~ public_dns = "ec2-13-60-61-128.eu-north-1.compute.amazonaws.com" -> (known after apply) ~ public_ip = "13.60.61.128" -> (known after apply) ~ secondary_private_ips = [] -> (known after apply) ~ security_groups = [] -> (known after apply) + spot_instance_request_id = (known after apply) tags = { "Environment" = "Prod" "Name" = "Stagnum-stack" "Project" = "Stagnum" "Service" = "Stagnum" "Terraform" = "true" } ~ tenancy = "default" -> (known after apply) ~ user_data = (sensitive value) # forces replacement + user_data_base64 = (known after apply) ~ volume_tags = { - "Environment" = "Prod" -> null ~ "Name" = "Stagnum-postgers" -> "Stagnum-stack" - "Project" = "Stagnum" -> null - "Service" = "Stagnum" -> null - "Terraform" = "true" -> null } # (13 unchanged attributes hidden) - capacity_reservation_specification { - capacity_reservation_preference = "open" -> null } - cpu_options { - core_count = 1 -> null - threads_per_core = 2 -> null } ~ credit_specification { - cpu_credits = "unlimited" -> null } - ebs_block_device { - delete_on_termination = false -> null - device_name = "/dev/sdd" -> null - encrypted = false -> null - iops = 3000 -> null - tags = {} -> null - tags_all = {} -> null - throughput = 125 -> null - volume_id = "vol-0e43128d7861fd8db" -> null - volume_size = 10 -> null - volume_type = "gp3" -> null } ~ enclave_options { ~ enabled = false -> (known after apply) } - maintenance_options { - auto_recovery = "default" -> null } ~ metadata_options { ~ instance_metadata_tags = "disabled" -> (known after apply) # (4 unchanged attributes hidden) } - private_dns_name_options { - enable_resource_name_dns_a_record = false -> null - enable_resource_name_dns_aaaa_record = false -> null - hostname_type = "ip-name" -> null } - root_block_device { - delete_on_termination = true -> null - device_name = "/dev/sda1" -> null - encrypted = false -> null - iops = 3000 -> null - tags = {} -> null - tags_all = {} -> null - throughput = 125 -> null - volume_id = "vol-04404daa263056c0e" -> null - volume_size = 8 -> null - volume_type = "gp3" -> null } # (1 unchanged block hidden) } Plan: 2 to add, 3 to change, 2 to destroy. Changes to Outputs: ~ ec2_eip = "13.60.61.128" -> (known after apply) ~ ec2_public_dns = "ec2-13-60-61-128.eu-north-1.compute.amazonaws.com" -> (known after apply) ```
github-actions[bot] commented 2 weeks ago

Client rewrite coverage

Lines Statements Branches Functions
Client rewrite coverage: 96%
96.02% (2322/2418) 93.46% (286/306) 88.88% (152/171)