-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…repos Add Cocoapods package type to virtual repo list
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
subcategory: "Virtual Repositories" | ||
--- | ||
# Artifactory Virtual Cocoapods Repository Resource | ||
|
||
Creates a virtual Cocoapods repository. Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/set-up-virtual-cocoapods-repositories). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "artifactory_virtual_cocoapods_repository" "foo-cocoapods" { | ||
key = "foo-cocoapods" | ||
repositories = [] | ||
description = "A test virtual repo" | ||
notes = "Internal description" | ||
includes_pattern = "com/jfrog/**,cloud/jfrog/**" | ||
excludes_pattern = "com/google/**" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
Arguments have a one to one mapping with the [JFrog API](https://www.jfrog.com/confluence/display/RTF/Repository+Configuration+JSON). | ||
The following arguments are supported, along with the [common list of arguments for the virtual repositories](virtual.md): | ||
|
||
* `key` - (Required) A mandatory identifier for the repository that must be unique. It cannot begin with a number or | ||
contain spaces or special characters. | ||
* `repositories` - (Optional) The effective list of actual repositories included in this virtual repository. | ||
* `description` - (Optional) | ||
* `notes` - (Optional) | ||
|
||
## Import | ||
|
||
Virtual repositories can be imported using their name, e.g. | ||
|
||
``` | ||
$ terraform import artifactory_virtual_cocoapods_repository.foo-composer foo-cocoapods | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters