Closed
Description
Describe the bug
harbor_replication documentation bug with: https://github.com/goharbor/terraform-provider-harbor/blob/main/docs/resources/replication.md, where it has this example:
resource "harbor_replication" "alpine" {
name = "alpine"
action = "pull"
registry_id = harbor_registry.main.registry_id
schedule = "event_based"
filters {
name = "library/alpine"
}
filters {
tag = "3.*.*"
}
}
The above is wrong, 'event_based' is only possible for 'push' action', not 'pull' action.
To Reproduce
Just tried to ensure the above in the doc, it likely won't work.
Expected behavior
The example in the above doc should be 'push' action instead.
Additional context
N/A
Metadata
Assignees
Labels
No labels