-
Notifications
You must be signed in to change notification settings - Fork 1
feat: expose new s2s iam #301
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
Conversation
/run pipeline |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we not consistent with the variable description in the module?
solutions/standard/variables.tf
Outdated
type = string | ||
description = "The name of the IAM engine used to configure a Secrets Manager IAM credentials engine. If the prefix input variable is passed it is attached before the value in the format of '<prefix>-value'." | ||
default = "iam-engine" | ||
description = "Set this to false to enable a Secrets Manager IAM credentials engine. If set to true, no IAM engine will be configured for your instance." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we not consistent with the variable description in the module?
modules/fscloud/variables.tf
Outdated
@@ -35,6 +35,12 @@ variable "existing_sm_instance_crn" { | |||
default = null | |||
} | |||
|
|||
variable "skip_iam_authorization_policy" { | |||
type = bool | |||
description = "Set this to true to skip the creation of a Secrets Manager IAM credentials engine. If set to false, an IAM engine will be configured for your instance." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we not consistent with the variable description in the module?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering how the upgrade test is not failing as it should be destroying the old IAM engine resources (like the service ID and apikey) and after checking it seems we have no upgrade test for the DA! This is big gap. Can you please add an upgrade test for the DA (using RunSchematicUpgradeTest
) in a separate PR first please (created tracking issue)?
@alex-reiff can we address this now that upgrade test pr is merged? |
/run pipeline |
/run pipeline |
@ocofaigh DA was not creating an IAM engine before. Do we want to make that the new default? (upgrade test failing as expected) |
@alex-reiff The DA is creating IAM engine -> terraform-ibm-secrets-manager/solutions/standard/main.tf Lines 123 to 131 in f12d4e9
Since this variation is actually getting replace by new variations in #300 is suggest to just leave the current DA as is, and we will only expose the new s2s auth policy in the new variation |
@ocofaigh So is there anything to do in this PR? |
/run pipeline |
/run pipeline |
@alex-reiff Remember to paste the reason for the previously failed run so we can track them. Looks like an issue with schematics talking to COS: I'll report to schematics team. Also I see several warnings in the logs - Can you address these too (maybe create a new tracking issue and handle in new PR). I think we are passing inputs in the test that are not valid:
|
@alex-reiff do we have a misconfigured test? Are you able to locally run this? (
Meanwhile I try trigger pipeline again.. |
/run pipeline |
🎉 This PR is included in version 1.25.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Description
Expose built-in IAM engine to fscloud submodule (and DA)
Release required?
x.x.X
)x.X.x
)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:
Checklist for reviewers
For mergers