atlassian / terraform-provider-artifactory

Terraform provider to manage Artifactory
Apache License 2.0
89 stars 42 forks source link

xray watches resource #92

Open josh-barker opened 4 years ago

josh-barker commented 4 years ago

Community Note

Description

Hi, I'd like to be able to configure watch in XRay using terraform.

I have found a go package for xray which is based on go-artifactory.

I'm wondering if you would consider including that package in this provider, or do you think its more appropriate to make a separate provider?

Cheers!

New or Affected Resource(s)

Potential Terraform Configuration

resource "artifactory_xray_watches" "example" {
  name        = "example-watches"
  description = "example description"
  active      = true

  project_resource {
    type       = "repository"
    bin_mgr_id = "art-prod-eu"
    name       = "libs-release-local"

    filters = [
      {
        type  = "regex"
        value = ".*"
      }
    ]
  }

  policy {
    name = "default-policy"
    type   = "security"
  }
}
peters95 commented 3 years ago

Migrated -> https://github.com/jfrog/terraform-provider-artifactory/issues/6