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

fix: resolve deprecated Slack files.upload #468

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

LesnyRumcajs
Copy link
Member

@LesnyRumcajs LesnyRumcajs commented Feb 13, 2025

Summary of changes
Changes introduced in this pull request:

Reference issue to close (if applicable)

Closes #440

Other information and links

@LesnyRumcajs LesnyRumcajs force-pushed the fix-deprecated-files-upload branch from 92a84bc to 406d612 Compare February 13, 2025 15:55
@LesnyRumcajs LesnyRumcajs marked this pull request as ready for review February 13, 2025 16:04
@LesnyRumcajs LesnyRumcajs requested a review from a team as a code owner February 13, 2025 16:04
@LesnyRumcajs LesnyRumcajs requested review from lemmih and hanabi1224 and removed request for a team February 13, 2025 16:04
Copy link

Forest: Sync Check Service Infrastructure Plan: success

Show Plan
data.local_file.init: Reading...
data.local_file.init: Read complete after 0s [id=8f06c32ae54175fe92d10d4176a7080693818664]
data.external.sources_tar: Reading...
data.digitalocean_project.forest_project: Reading...
data.digitalocean_ssh_keys.keys: Reading...
data.external.sources_tar: Read complete after 0s [id=-]
data.local_file.sources: Reading...
data.local_file.sources: Read complete after 0s [id=ae0727f018bac30cf825f9142eee272b276317cc]
data.digitalocean_ssh_keys.keys: Read complete after 0s [id=ssh_keys/13452342636441856677]
digitalocean_droplet.forest: Refreshing state... [id=417963780]
data.digitalocean_project.forest_project: Read complete after 2s [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-05-10T11:33:52Z" -> (known after apply)
      ~ disk                 = 200 -> (known after apply)
      ~ id                   = "417963780" -> (known after apply)
      ~ ipv4_address         = "165.22.31.240" -> (known after apply)
      ~ ipv4_address_private = "10.135.0.2" -> (known after apply)
      + ipv6_address         = (known after apply)
      ~ locked               = false -> (known after apply)
      ~ memory               = 16384 -> (known after apply)
        name                 = "prod-sync-check"
      ~ price_hourly         = 0.125 -> (known after apply)
      ~ price_monthly        = 84 -> (known after apply)
      ~ private_networking   = true -> (known after apply)
      ~ ssh_keys             = [ # forces replacement
          - "5a:a8:6d:02:66:21:e9:f7:27:b2:1c:6e:89:0f:65:77",
          - "88:95:97:77:a1:1f:bf:e8:3a:84:20:7d:a9:4c:74:6d",
          - "b6:03:52:e0:49:14:03:90:19:37:69:c3:c7:d0:e7:69",
          - "bb:7a:cc:18:56:7a:cb:2b:07:d7:8b:30:86:b8:b5:41",
          - "e4:0e:85:24:75:5e:f3:b1:77:c4:7d:a2:3a:1e:00:b1",
          - "f7:de:2d:83:ce:e7:c3:13:2c:ca:3a:f0:4b:4e:46:da",
          + "6d:ac:4e:80:f3:26:d2:e5:0d:4f:0b:fa:0b:68:b1:ce",
            # (13 unchanged elements hidden)
        ]
      ~ status               = "active" -> (known after apply)
        tags                 = [
            "iac",
            "prod",
        ]
      ~ urn                  = "do:droplet:417963780" -> (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)
        # (8 unchanged attributes 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:417963780",
        ] -> (known after apply)
        # (1 unchanged attribute hidden)
    }

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

Changes to Outputs:
  ~ ip = [
      - "165.22.31.240",
      + (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 enabled auto-merge (squash) February 13, 2025 16:08
@LesnyRumcajs LesnyRumcajs merged commit d135448 into main Feb 14, 2025
10 checks passed
@LesnyRumcajs LesnyRumcajs deleted the fix-deprecated-files-upload branch February 14, 2025 08:39
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.

Resolve files_upload deprecated in Slack API
3 participants