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

add tofu auto-deployment workflows #3

Merged
merged 1 commit into from
Sep 25, 2024
Merged

add tofu auto-deployment workflows #3

merged 1 commit into from
Sep 25, 2024

Conversation

RafDevX
Copy link
Member

@RafDevX RafDevX commented Sep 19, 2024

No description provided.

@RafDevX RafDevX added the enhancement new feature or request label Sep 19, 2024
@RafDevX RafDevX self-assigned this Sep 19, 2024
@RafDevX RafDevX force-pushed the tofu-workflows branch 17 times, most recently from bffef38 to 695f60b Compare September 19, 2024 18:23
@datasektionen datasektionen deleted a comment from github-actions bot Sep 19, 2024
@RafDevX RafDevX force-pushed the tofu-workflows branch 2 times, most recently from 67e06f2 to ae73a82 Compare September 19, 2024 23:51
@RafDevX
Copy link
Member Author

RafDevX commented Sep 19, 2024

OpenTofu plan for dsekt-infra

Plan: 4 to add, 0 to change, 4 to destroy.
OpenTofu used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement

OpenTofu will perform the following actions:

  # module.nixos_install["ares"].module.nixos-rebuild[0].null_resource.nixos-rebuild must be replaced
-/+ resource "null_resource" "nixos-rebuild" {
!~      id       = "*******************" -> (known after apply)
!~      triggers = { # forces replacement
!~          "store_path" = "/nix/store/aq20avxkqr6brkpz3p34v0kl3dlx0s2z-nixos-system-ares-24.05.20240830.6e99f2a" -> "/nix/store/lvvkd37pkxpqj2l0sja7za49anynd5nw-nixos-system-ares-24.05.20240830.6e99f2a"
        }
    }

  # module.nixos_install["hades"].module.nixos-rebuild[0].null_resource.nixos-rebuild must be replaced
-/+ resource "null_resource" "nixos-rebuild" {
!~      id       = "*******************" -> (known after apply)
!~      triggers = { # forces replacement
!~          "store_path" = "/nix/store/hsdcwvkp9la9sb2121q9vd1dnrzm0ljv-nixos-system-hades-24.05.20240830.6e99f2a" -> "/nix/store/7p8qkxr7r4d0pk8xi2g7vhrl9ffpcxi3-nixos-system-hades-24.05.20240830.6e99f2a"
        }
    }

  # module.nixos_install["poseidon"].module.nixos-rebuild[0].null_resource.nixos-rebuild must be replaced
-/+ resource "null_resource" "nixos-rebuild" {
!~      id       = "******************" -> (known after apply)
!~      triggers = { # forces replacement
!~          "store_path" = "/nix/store/4qdfvixwg14zk9qcmj682xi628klyps5-nixos-system-poseidon-24.05.20240830.6e99f2a" -> "/nix/store/xxkqbqrqxmgvzxhws13hymdxfzz2wyxr-nixos-system-poseidon-24.05.20240830.6e99f2a"
        }
    }

  # module.nixos_install["zeus"].module.nixos-rebuild[0].null_resource.nixos-rebuild must be replaced
-/+ resource "null_resource" "nixos-rebuild" {
!~      id       = "*******************" -> (known after apply)
!~      triggers = { # forces replacement
!~          "store_path" = "/nix/store/3iii41ilryrazg4kavnrsqr19q6b9rng-nixos-system-zeus-24.05.20240830.6e99f2a" -> "/nix/store/8a55p4grwiqg4awc1hf8m9a0pxdmw153-nixos-system-zeus-24.05.20240830.6e99f2a"
        }
    }

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

❌ Error applying plan in Apply OpenTofu plan #11

@RafDevX RafDevX force-pushed the tofu-workflows branch 6 times, most recently from 8111735 to 2122eb1 Compare September 21, 2024 10:35
@RafDevX RafDevX force-pushed the tofu-workflows branch 7 times, most recently from dffa32c to fbbf546 Compare September 21, 2024 21:11
Copy link

github-actions bot commented Sep 21, 2024

OpenTofu plan for dsekt-infra

No changes. Your infrastructure matches the configuration.
No changes. Your infrastructure matches the configuration.

OpenTofu has compared your real infrastructure against your configuration and
found no differences, so no changes are needed.

📝 Plan generated in Create OpenTofu plan #34

Copy link
Member

@foodelevator foodelevator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good I think! 👍

@RafDevX RafDevX force-pushed the tofu-workflows branch 15 times, most recently from 37531c0 to 7f432dd Compare September 25, 2024 17:03
Copy link
Member

@foodelevator foodelevator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. Probably works!

@RafDevX RafDevX merged commit cbbedcd into main Sep 25, 2024
1 check passed
@foodelevator foodelevator deleted the tofu-workflows branch November 4, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement new feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants