Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update snapshot nodes #434

Merged
merged 1 commit into from
Apr 9, 2024
Merged

update snapshot nodes #434

merged 1 commit into from
Apr 9, 2024

Conversation

LesnyRumcajs
Copy link
Member

Summary of changes
Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes

Other information and links

@LesnyRumcajs LesnyRumcajs requested a review from a team as a code owner April 9, 2024 08:37
@LesnyRumcajs LesnyRumcajs requested review from hanabi1224 and sudo-shashank and removed request for a team April 9, 2024 08:37
@LesnyRumcajs LesnyRumcajs enabled auto-merge (squash) April 9, 2024 08:37
Copy link

github-actions bot commented Apr 9, 2024

Forest: snapshot-service-2 Infrastructure Plan: success

Show Plan
data.digitalocean_ssh_keys.keys: Reading...
data.local_file.init: Reading...
data.external.sources_tar: Reading...
data.digitalocean_project.forest_project: Reading...
data.local_file.init: Read complete after 0s [id=77298e3fbe90b09f523af110328b6459bffa71c6]
data.external.sources_tar: Read complete after 0s [id=-]
data.local_file.sources: Reading...
data.local_file.sources: Read complete after 0s [id=3c241b935b31509a66a77870f804ed3c0161382b]
module.monitoring[0].newrelic_alert_policy.alert: Refreshing state... [id=1328150]
module.monitoring[0].newrelic_notification_channel.slack-channel[0]: Refreshing state... [id=07301459-0252-4595-8052-70a4b0f1399f]
data.digitalocean_ssh_keys.keys: Read complete after 0s [id=ssh_keys/8656000852680004208]
digitalocean_droplet.forest: Refreshing state... [id=409492286]
digitalocean_firewall.forest-firewall: Refreshing state... [id=b8569db4-cf03-49ef-a701-2ad9cbedf1af]
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]
module.monitoring[0].newrelic_workflow.alerting-workflow-slack[0]: Refreshing state... [id=46c4c56f-9794-4f8f-b8a2-5dc6a3939dd7]
module.monitoring[0].newrelic_nrql_alert_condition.disk_space: Refreshing state... [id=1328150:6097778]

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-03-28T11:03:20Z" -> (known after apply)
      ~ disk                 = 200 -> (known after apply)
      ~ id                   = "409492286" -> (known after apply)
      ~ ipv4_address         = "64.23.244.159" -> (known after apply)
      ~ ipv4_address_private = "10.124.0.2" -> (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)
      ~ status               = "active" -> (known after apply)
        tags                 = [
            "iac",
            "prod",
        ]
      ~ urn                  = "do:droplet:409492286" -> (known after apply)
      ~ user_data            = (sensitive value) # forces replacement
      ~ vcpus                = 4 -> (known after apply)
      ~ volume_ids           = [] -> (known after apply)
      ~ vpc_uuid             = "d8fa19e6-fef4-479e-a36a-d83fdba66322" -> (known after apply)
        # (9 unchanged attributes hidden)
    }

  # digitalocean_firewall.forest-firewall will be updated in-place
  ~ resource "digitalocean_firewall" "forest-firewall" {
      ~ droplet_ids     = [
          - 409492286,
        ] -> (known after apply)
        id              = "b8569db4-cf03-49ef-a701-2ad9cbedf1af"
        name            = "prod-forest-snapshot-2"
        tags            = []
        # (3 unchanged attributes hidden)

        # (7 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:409492286",
        ] -> (known after apply)
        # (1 unchanged attribute hidden)
    }

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

Changes to Outputs:
  ~ ip = [
      - "64.23.244.159",
      + (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"

Copy link

github-actions bot commented Apr 9, 2024

Forest: snapshot-service Infrastructure Plan: success

Show Plan
data.local_file.init: Reading...
data.local_file.init: Read complete after 0s [id=77298e3fbe90b09f523af110328b6459bffa71c6]
data.digitalocean_ssh_keys.keys: Reading...
data.external.sources_tar: Reading...
data.digitalocean_project.forest_project: Reading...
module.monitoring[0].newrelic_alert_policy.alert: Refreshing state... [id=1328184]
module.monitoring[0].newrelic_notification_channel.slack-channel[0]: Refreshing state... [id=9f4ba0fe-e252-43d9-b068-a5723b7690e4]
data.external.sources_tar: Read complete after 0s [id=-]
data.local_file.sources: Reading...
data.local_file.sources: Read complete after 0s [id=3c241b935b31509a66a77870f804ed3c0161382b]
data.digitalocean_ssh_keys.keys: Read complete after 0s [id=ssh_keys/8656000852680004208]
digitalocean_droplet.forest: Refreshing state... [id=409507753]
digitalocean_firewall.forest-firewall: Refreshing state... [id=d9ef4283-8670-463c-b48e-aabfb3020418]
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]
module.monitoring[0].newrelic_nrql_alert_condition.disk_space: Refreshing state... [id=1328184:6098417]
module.monitoring[0].newrelic_workflow.alerting-workflow-slack[0]: Refreshing state... [id=452bb9c6-e7ee-4c5e-88f3-43f79e9cde00]

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-03-28T12:44:29Z" -> (known after apply)
      ~ disk                 = 200 -> (known after apply)
      ~ id                   = "409507753" -> (known after apply)
      ~ ipv4_address         = "167.172.96.40" -> (known after apply)
      ~ ipv4_address_private = "10.135.0.3" -> (known after apply)
      + ipv6_address         = (known after apply)
      ~ locked               = false -> (known after apply)
      ~ memory               = 16384 -> (known after apply)
        name                 = "prod-forest-snapshot"
      ~ price_hourly         = 0.125 -> (known after apply)
      ~ price_monthly        = 84 -> (known after apply)
      ~ private_networking   = true -> (known after apply)
      ~ status               = "active" -> (known after apply)
        tags                 = [
            "iac",
            "prod",
        ]
      ~ urn                  = "do:droplet:409507753" -> (known after apply)
      ~ user_data            = (sensitive value) # forces replacement
      ~ 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     = [
          - 409507753,
        ] -> (known after apply)
        id              = "d9ef4283-8670-463c-b48e-aabfb3020418"
        name            = "prod-forest-snapshot"
        tags            = []
        # (3 unchanged attributes hidden)

        # (7 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:409507753",
        ] -> (known after apply)
        # (1 unchanged attribute hidden)
    }

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

Changes to Outputs:
  ~ ip = [
      - "167.172.96.40",
      + (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"

@LesnyRumcajs LesnyRumcajs merged commit c31e40a into main Apr 9, 2024
11 checks passed
@LesnyRumcajs LesnyRumcajs deleted the update-forest-nodes branch April 9, 2024 12:17
@hanabi1224
Copy link
Contributor

A side note: shall we tag v0.17..2 as latest?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants