iac: fix a ternary

This commit is contained in:
bdeshi 2024-05-21 17:28:13 +06:00
parent 48f33c01a2
commit f366e197fb
Signed by: bdeshi
GPG Key ID: 410D03DA9A3468E0

View File

@ -48,7 +48,7 @@ resource "woodpecker_repository" "created" {
data.gitea_repo.source.name
])
visibility = data.gitea_repo.source.private ? "public" : "private"
visibility = data.gitea_repo.source.private ? "private" : "public"
}
resource "woodpecker_repository_secret" "secrets" {