oci_devops_repository_mirror
This resource provides the Repository Mirror resource in Oracle Cloud Infrastructure Devops service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/devops/latest/RepositoryMirror
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/devops
Synchronize a mirrored repository to the latest version from external providers.
Example Usage
resource "oci_devops_repository_mirror" "test_repository_mirror" {
#Required
repository_id = oci_devops_repository.test_repository.id
}
Argument Reference
The following arguments are supported:
repository_id- (Required) Unique repository identifier.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Attributes Reference
The following attributes are exported:
Timeouts
The timeouts block allows you to specify timeouts for certain operations:
* create - (Defaults to 20 minutes), when creating the Repository Mirror
* update - (Defaults to 20 minutes), when updating the Repository Mirror
* delete - (Defaults to 20 minutes), when destroying the Repository Mirror
Import
RepositoryMirror can be imported using the id, e.g.
$ terraform import oci_devops_repository_mirror.test_repository_mirror "id"