-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Is your feature request related to a problem? Please describe.
I am attempting to deploy & manager indexed resources using terraform. I am using provider version 2.9.0. Creating the indexed resource using the build name is successful. I would like to add include and exclude patterns. In the documentation there is no mention of patterns.
https://registry.terraform.io/providers/jfrog/xray/latest/docs/resources/binary_manager_builds
Describe the solution you'd like
Ideally I would like to use a pattern (like project-env_**) which will index all the builds that has names starting with the pattern.
Describe alternatives you've considered
The only alternative seems to be add all the build using names explicitly. This will not be efficient as if a new build name is introduced, this is a change in the Terraform code to add that build name.
Terraform code that work
resource "xray_binary_manager_builds" "my-indexed-builds" {
id = "default"
indexed_builds = [ "project1-dev_build-1 ]
}
Terraform that we like to be able to do
resource "xray_binary_manager_builds" "my-indexed-builds" {
id = "default"
indexed_builds_patterns = [ "project1-dev_**" ]
}