Skip to content

Latest commit

 

History

History
37 lines (28 loc) · 1.45 KB

remote_generic_repository.md

File metadata and controls

37 lines (28 loc) · 1.45 KB
subcategory
Remote Repositories

Artifactory Remote Generic Repository Resource

Creates a remote Generic repository.

Example Usage

resource "artifactory_remote_generic_repository" "my-remote-generic" {
  key = "my-remote-generic"
  url = "http://testartifactory.io/artifactory/example-generic/"
}

Argument Reference

Arguments have a one to one mapping with the JFrog API. The following arguments are supported, along with the common list of arguments for the remote repositories:

All generic repo arguments are supported, in addition to:

  • key - (Required) A mandatory identifier for the repository that must be unique. It cannot begin with a number or contain spaces or special characters.
  • description - (Optional) Public description.
  • notes - (Optional) Internal description.
  • url - (Required) The remote repo URL.
  • propagate_query_params - (Optional, Default: false) When set, if query params are included in the request to Artifactory, they will be passed on to the remote repository.
  • retrieve_sha256_from_server - (Optional, Default: false) When set to true, Artifactory retrieves the SHA256 from the remote server if it is not cached in the remote repo.

Import

Remote repositories can be imported using their name, e.g.

$ terraform import artifactory_remote_generic_repository.my-remote-generic my-remote-generic