Skip to content

Conversation

@ocofaigh
Copy link
Contributor

@ocofaigh ocofaigh commented Oct 19, 2025

Description

When enable_activity_tracker_event_routing_to_cos_bucket was set to false, the following error was occurring:

 2025/10/17 16:52:19 Terraform plan | Error: Invalid function argument
 2025/10/17 16:52:19 Terraform plan | 
 2025/10/17 16:52:19 Terraform plan |   on .terraform/modules/existing_kms_key_crn_parser/modules/crn-parser/main.tf line 6, in locals:
 2025/10/17 16:52:19 Terraform plan |    6:   split_crn        = coalescelist(split(":", var.crn))
 2025/10/17 16:52:19 Terraform plan |     ├────────────────
 2025/10/17 16:52:19 Terraform plan |     │ while calling split(separator, str)
 2025/10/17 16:52:19 Terraform plan |     │ var.crn is null

This PR has a fix and plugs the test gap

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.

@ocofaigh ocofaigh requested a review from iamar7 as a code owner October 19, 2025 14:22
@ocofaigh
Copy link
Contributor Author

/run pipeline

@ocofaigh ocofaigh merged commit c1d980e into main Oct 19, 2025
2 checks passed
@ocofaigh ocofaigh deleted the kms-bug branch October 19, 2025 19:46
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 1.4.3 🎉

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.

3 participants