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

Unexpected Terraform diff #44

Open
bryan-bar opened this issue Feb 12, 2024 · 0 comments
Open

Unexpected Terraform diff #44

bryan-bar opened this issue Feb 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bryan-bar
Copy link
Collaborator

When using terraform 1.3.6,
terraform shows a diff due to the stage changing to read.

  # module.machine_us_west_2["pg1-1"].toolbox_external.all_block_devices[0] has changed
  ~ resource "toolbox_external" "all_block_devices" {
        id      = "-"
      ~ stage   = "create" -> "read"
        # (7 unchanged attributes hidden)
    }

  # module.machine_us_west_2["pg1-1"].toolbox_external.final_block_devices[0] has changed
  ~ resource "toolbox_external" "final_block_devices" {
        id      = "-"
      ~ stage   = "create" -> "read"
        # (7 unchanged attributes hidden)
    }

  # module.machine_us_west_2["pg1-1"].toolbox_external.initial_block_devices[0] has changed
  ~ resource "toolbox_external" "initial_block_devices" {
        id      = "-"
      ~ stage   = "create" -> "read"
        # (7 unchanged attributes 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.

──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Changes to Outputs:
  ~ modules = (sensitive value)
  ~ servers = (sensitive value)

You can apply this plan to save these new output values to the Terraform state, without changing any real infrastructure.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value:

With Terraform 1.5.5, terraform does not show the stage diff.

@bryan-bar bryan-bar added the bug Something isn't working label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant