1.5 KiB
1.5 KiB
page_title | subcategory | description |
---|---|---|
forgejo_repository_push_mirror Resource - terraform-provider-forgejo | Use this resource to create and manage a repository push mirror. |
forgejo_repository_push_mirror (Resource)
Use this resource to create and manage a repository push mirror.
Example Usage
resource "forgejo_repository_push_mirror" "main" {
owner = "adyxax"
remote_address = "https://github.com/adyxax/tfstated"
remote_password = "secret"
remote_username = "adyxax"
repository = "example"
}
Schema
Required
owner
(String) The owner of the repository on which to configure a push mirror.remote_address
(String) The push mirror's remote address.repository
(String) The repository on which to configure a push mirror.
Optional
interval
(String) The push mirror's sync interval as a string. Defaults to8h0m0s
.remote_password
(String, Sensitive) The push mirror's remote password.remote_username
(String) The push mirror's remote username.sync_on_commit
(Boolean) Whether the push mirror is synced on each commit pushed to the repository, defaults totrue
.use_ssh
(Boolean) Whether the push mirror is synced over SSH or not (not meaning HTTP), defaults tofalse
.
Read-Only
created
(String) The push mirror's creation date and time.name
(String) The name of the push mirror.