Skip to content

feat: access group in submodule #299

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

feat: access group in submodule #299

wants to merge 6 commits into from

Conversation

alex-reiff
Copy link
Contributor

Description

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.

@alex-reiff
Copy link
Contributor Author

/run pipeline

@alex-reiff alex-reiff marked this pull request as ready for review March 6, 2025 04:20
@alex-reiff alex-reiff requested a review from shemau as a code owner March 6, 2025 04:20
@alex-reiff
Copy link
Contributor Author

/run pipeline

@alex-reiff
Copy link
Contributor Author

/run pipeline

3 similar comments
@alex-reiff
Copy link
Contributor Author

/run pipeline

@alex-reiff
Copy link
Contributor Author

/run pipeline

@alex-reiff
Copy link
Contributor Author

/run pipeline

@alex-reiff
Copy link
Contributor Author

/run pipeline

Copy link
Contributor

@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.

Should we not be adding this support to https://github.com/terraform-ibm-modules/terraform-ibm-secrets-manager-secret-group first? The access group is mapped to a secret group, so I would of expected the logic in that module?

@alex-reiff
Copy link
Contributor Author

@ocofaigh since this submodule and the main secrets group module are separate, does the order of implementing matter?

Doing it here first allows us to give the DA back for feedback faster.

@alex-reiff alex-reiff requested a review from ocofaigh March 19, 2025 03:40
@ocofaigh
Copy link
Contributor

since this submodule and the main secrets group module are separate, does the order of implementing matter?

Doing it here first allows us to give the DA back for feedback faster.

@alex-reiff Why would you add the code in both places? Its just code duplication. Why not add the support directly to the secret-group module, and then the secrets submodule can inherit it. Or am I missing something?

@alex-reiff
Copy link
Contributor Author

@ocofaigh Oh i think I see what you mean now.

Because access groups are gonna be 1-1 with the secrets group, they don't need to be part of the whole multi-secret-multi-secret-group object.

Yeah I'll move this into the secrets group module.

@alex-reiff
Copy link
Contributor Author

switching to draft, main functionality moved to this PR: terraform-ibm-modules/terraform-ibm-secrets-manager-secret-group#270

@alex-reiff alex-reiff marked this pull request as draft March 25, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants