Skip to content

Indexed Resources using build Pattern #230

@bjgpnth

Description

@bjgpnth

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_**" ]
}

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestno API supportXray doesn't have API to support this featuretriaged

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions