ChainSafe / forest-iac

Infrastructure as Code to support the Forest Filecoin project
Apache License 2.0
10 stars 5 forks source link

snapshot service: Move to separate region (fra1 -> sfo3) #418

Closed lemmih closed 8 months ago

lemmih commented 8 months ago

Summary of changes Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes

Other information and links

github-actions[bot] commented 8 months ago

Forest: snapshot-service-2 Infrastructure Plan: success

Show Plan ``` data.external.sources_tar: Reading... data.local_file.init: Reading... data.digitalocean_project.forest_project: Reading... data.local_file.init: Read complete after 0s [id=dc94e3ebf33fe45cb5e8946405ca9f6d06f4f21a] data.digitalocean_ssh_keys.keys: Reading... data.external.sources_tar: Read complete after 0s [id=-] data.local_file.sources: Reading... module.monitoring[0].newrelic_alert_policy.alert: Refreshing state... [id=1311357] module.monitoring[0].newrelic_notification_channel.slack-channel[0]: Refreshing state... [id=073f02da-6802-47c7-844a-d97b64aa3a97] data.local_file.sources: Read complete after 0s [id=bb5129f3e24d23f393420ccd3ea738485eda581b] data.digitalocean_ssh_keys.keys: Read complete after 0s [id=ssh_keys/8656000852680004208] digitalocean_droplet.forest: Refreshing state... [id=403556100] digitalocean_firewall.forest-firewall: Refreshing state... [id=1bb92321-309c-45ec-ae47-08c968ce5222] module.monitoring[0].newrelic_nrql_alert_condition.disk_space: Refreshing state... [id=1311357:5863318] module.monitoring[0].newrelic_workflow.alerting-workflow-slack[0]: Refreshing state... [id=6de34755-6d62-4a73-ac00-4ba266fcb43d] data.digitalocean_project.forest_project: Read complete after 1s [id=da5e6601-7fd9-4d02-951e-390f7feb3411] digitalocean_project_resources.connect_forest_project: Refreshing state... [id=da5e6601-7fd9-4d02-951e-390f7feb3411] 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: # digitalocean_droplet.forest must be replaced -/+ resource "digitalocean_droplet" "forest" { ~ created_at = "2024-02-27T08:02:50Z" -> (known after apply) ~ disk = 200 -> (known after apply) ~ id = "403556100" -> (known after apply) ~ ipv4_address = "104.248.249.25" -> (known after apply) ~ ipv4_address_private = "10.135.0.5" -> (known after apply) + ipv6_address = (known after apply) ~ locked = false -> (known after apply) ~ memory = 16384 -> (known after apply) name = "prod-forest-snapshot-2" ~ price_hourly = 0.125 -> (known after apply) ~ price_monthly = 84 -> (known after apply) ~ private_networking = true -> (known after apply) ~ region = "fra1" -> "sfo3" # forces replacement ~ status = "active" -> (known after apply) tags = [ "iac", "prod", ] ~ urn = "do:droplet:403556100" -> (known after apply) ~ vcpus = 4 -> (known after apply) ~ volume_ids = [] -> (known after apply) ~ vpc_uuid = "46a525ac-fd37-47ea-bb10-95c1db0055f7" -> (known after apply) # (9 unchanged attributes hidden) } # digitalocean_firewall.forest-firewall will be updated in-place ~ resource "digitalocean_firewall" "forest-firewall" { ~ droplet_ids = [ - 403556100, ] -> (known after apply) id = "1bb92321-309c-45ec-ae47-08c968ce5222" name = "prod-forest-snapshot-2" tags = [] # (3 unchanged attributes hidden) # (6 unchanged blocks hidden) } # digitalocean_project_resources.connect_forest_project will be updated in-place ~ resource "digitalocean_project_resources" "connect_forest_project" { id = "da5e6601-7fd9-4d02-951e-390f7feb3411" ~ resources = [ - "do:droplet:403556100", ] -> (known after apply) # (1 unchanged attribute hidden) } Plan: 1 to add, 2 to change, 1 to destroy. Changes to Outputs: ~ ip = [ - "104.248.249.25", + (known after apply), ] ───────────────────────────────────────────────────────────────────────────── Saved the plan to: /home/runner/work/forest-iac/forest-iac/tfplan To perform exactly these actions, run the following command to apply: terraform apply "/home/runner/work/forest-iac/forest-iac/tfplan" ```