subcategory |
---|
Remote Repositories |
Creates a remote Generic repository.
resource "artifactory_remote_generic_repository" "my-remote-generic" {
key = "my-remote-generic"
url = "http://testartifactory.io/artifactory/example-generic/"
}
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 totrue
, Artifactory retrieves the SHA256 from the remote server if it is not cached in the remote repo.
Remote repositories can be imported using their name, e.g.
$ terraform import artifactory_remote_generic_repository.my-remote-generic my-remote-generic