-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
|
/run pipeline |
|
/run pipeline |
|
/run pipeline |
|
/run pipeline |
|
/run pipeline |
|
/run pipeline |
ocofaigh
left a comment
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.
@jor2 I think there is some confusion around the way you have implemented this. I left some comments. If we need to sync up let me know
| ] | ||
|
|
||
| profile_name = "${var.prefix}-profile" | ||
| profile_description = "scc-custom" |
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.
This use case makes no sense? What I would expect is that the code should be creating a custom profile made up of controls. It shouldn't matter about what control library they came from
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.
ocofaigh
left a comment
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.
Took me a while to follow whats going on here, but I think its correct. Just a few minor comments. Also suggest you add more code comments to help people understand what the code is doing
| type = string | ||
| description = "The profile description. Constraints: The maximum length is `256` characters. The minimum length is `2` characters. The value must match regular expression `/[A-Za-z0-9]+/`." | ||
| } | ||
|
|
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.
hmmm I would expect there to be a variable to specify the profile version, but I don't see that as an option with the provider: https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/scc_profile
Might be a bug, I have reached out to SCC team
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.
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 added it, but it didn't seem to take affect. still says version is 0.0.0. Maybe custom can't have versions?
|
Setting the initial version of the profile seems to work with |
|
No plans to implement |

Description
add profile submodule
#76
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Support creating a new submodule called profile which supports creating a custom scc profile.
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