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

feat: create service credentials, remove the CBR rule and set kms_encryption_enabled to true for fscloud module #312

Merged
merged 15 commits into from
Oct 25, 2024

Conversation

dishankkalra23
Copy link
Contributor

@dishankkalra23 dishankkalra23 commented Oct 8, 2024

Description

  • This PR adds following:
    • support to create service credentials
    • remove the CBR rule in complete example to fix failures
    • set kms_encryption_enabled to true for fscloud module

Release required?

  • No release
  • Patch release (x.x.X)
  • Minor release (x.X.x)
  • Major release (X.x.x)

Issue: https://github.ibm.com/GoldenEye/issues/issues/10936

Release notes content

Adds support to create service credentials, set kms_encryption_enabled to true for fscloud module and fixes failing complete example

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.

@dishankkalra23
Copy link
Contributor Author

Hey @akocbek, Can you please review this PR?

akocbek
akocbek previously approved these changes Oct 11, 2024
@dishankkalra23
Copy link
Contributor Author

/run pipeline

@dishankkalra23
Copy link
Contributor Author

TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: ╷
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ Error: ---
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ id: terraform-1296f030
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ summary: "resourceIBMEventStreamsTopicCreate createSaramaAdminClient: kafka: client
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   has run out of available brokers to talk to: 6 errors occurred:\n\t* kafka server:
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   SASL Authentication failed: Authentication failed, invalid credentials\n\t* kafka
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n"
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ severity: error
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ resource: ibm_event_streams_topic
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ operation: create
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ component:
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   name: github.com/IBM-Cloud/terraform-provider-ibm
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   version: 1.70.0
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ ---
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ 
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ 
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   with module.event_streams.ibm_event_streams_topic.es_topic[1],
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   on ../../main.tf line 73, in resource "ibm_event_streams_topic" "es_topic":
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │   73: resource "ibm_event_streams_topic" "es_topic" {
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: │ 
TestRunUpgradeExample 2024-10-16T05:31:18Z logger.go:66: ╵

Upgrade test is failing on master with this error, re-running the pipeline should resolve it

@dishankkalra23
Copy link
Contributor Author

/run pipeline

akocbek
akocbek previously approved these changes Oct 22, 2024
variables.tf Outdated Show resolved Hide resolved
@Ak-sky
Copy link
Member

Ak-sky commented Oct 24, 2024

TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │ Error: ---
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │ id: terraform-1296f030
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │ summary: "resourceIBMEventStreamsTopicCreate createSaramaAdminClient: kafka: client
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   has run out of available brokers to talk to: 6 errors occurred:\n\t* kafka server:
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   SASL Authentication failed: Authentication failed, invalid credentials\n\t* kafka
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n\t*
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │   kafka server: SASL Authentication failed: Authentication failed, invalid credentials\n"
TestRunUpgradeExample 2024-10-22T17:10:44Z logger.go:66: │ severity: error
  • Have to skip upgrade test here to fix this.

Ak-sky
Ak-sky previously approved these changes Oct 24, 2024
Copy link
Member

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

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

see comments

examples/complete/variables.tf Outdated Show resolved Hide resolved
examples/complete/main.tf Outdated Show resolved Hide resolved
Copy link
Member

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

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

Needs to also be exposed in fscloud submodule and the DA

Copy link
Member

@ocofaigh ocofaigh left a comment

Choose a reason for hiding this comment

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

@terraform-ibm-modules terraform-ibm-modules deleted a comment from Ak-sky Oct 25, 2024
@ocofaigh
Copy link
Member

Would you be able to include the fix in #321 in this PR too please? The fscloud submodule is currently broken without that fix

@ocofaigh ocofaigh mentioned this pull request Oct 25, 2024
6 tasks
@dishankkalra23
Copy link
Contributor Author

/run pipeline

@dishankkalra23 dishankkalra23 changed the title feat: create service credentials feat: create service credentials, remove the CBR rule and set kms_encryption_enabled to true for fscloud module Oct 25, 2024
@ocofaigh ocofaigh merged commit 9586187 into main Oct 25, 2024
2 checks passed
@ocofaigh ocofaigh deleted the issue-10936 branch October 25, 2024 15:53
@terraform-ibm-modules-ops
Copy link
Contributor

🎉 This PR is included in version 2.5.0 🎉

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.

6 participants