Skip to content

Conversation

@shemau
Copy link
Contributor

@shemau shemau commented Oct 23, 2024

Description

Update KMS all inclusive which removes key ring force delete because it is deprecated by the provider

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)
Release notes content

Run the pipeline

If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.

Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:

/run pipeline

Checklist for reviewers

  • If relevant, a test for the change is included or updated with this PR.
  • If relevant, documentation for the change is included or updated with this PR.

For mergers

  • Use a conventional commit message to set the release level. Follow the guidelines.
  • Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
  • Use the Squash and merge option.

@shemau shemau requested a review from alex-reiff as a code owner October 23, 2024 10:23
@shemau
Copy link
Contributor Author

shemau commented Oct 23, 2024

The expectation is that this PR will need to skip upgrade test because of the key ring force delete state change.

@shemau
Copy link
Contributor Author

shemau commented Oct 23, 2024

/run pipeline

@shemau
Copy link
Contributor Author

shemau commented Oct 23, 2024

TestRunUpgradeExample 2024-10-23T10:49:43Z command.go:185:   # module.key_protect.module.kms_key_rings["secrets-mgr-upg-bdojuv-sm"].ibm_kms_key_rings.key_ring will be updated in-place
TestRunUpgradeExample 2024-10-23T10:49:43Z command.go:185:   ~ resource "ibm_kms_key_rings" "key_ring" {
TestRunUpgradeExample 2024-10-23T10:49:43Z command.go:185:       ~ force_delete  = true -> false
TestRunUpgradeExample 2024-10-23T10:49:43Z command.go:185:         id            = "secrets-mgr-upg-bdojuv-sm:keyRing:crn:v1:bluemix:public:kms:eu-de:a/abac0df06b644a9cabc6e44f55b3880e:80c9bab3-1caa-44d0-a75a-9e8c3e9dbe9f::"
TestRunUpgradeExample 2024-10-23T10:49:43Z command.go:185:         # (3 unchanged attributes hidden)
TestRunUpgradeExample 2024-10-23T10:49:43Z command.go:185:     }

As expected, the value in the example is seen to change, which breaks update. This was the only error, so skipping upgrade.

@shemau
Copy link
Contributor Author

shemau commented Oct 23, 2024

/run pipeline

@ocofaigh ocofaigh merged commit 5555c40 into main Oct 23, 2024
2 checks passed
@ocofaigh ocofaigh deleted the force-delete-ring branch October 23, 2024 13:46
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 1.18.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants