Skip to content

Commit 80667d7

Browse files
committed
refactor: implement output name (#60)
1 parent 9df8425 commit 80667d7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource "github_repository" "this" {
7171
}
7272

7373
lifecycle {
74-
prevent_destroy = true
74+
# prevent_destroy = true
7575
ignore_changes = [
7676
auto_init,
7777
has_issues,

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ output "instance" {
33
value = github_repository.this
44
}
55

6+
output "name" {
7+
description = "output name repository"
8+
value = github_repository.this.name
9+
}
10+
611
output "secrets" {
712
description = "output instance github actions secrets"
813
value = github_actions_secret.this

0 commit comments

Comments
 (0)