Skip to content

Commit f01940e

Browse files
authored
Update resources.tf
1 parent 791166a commit f01940e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

terraform/resources.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ resource "github_repository" "this" {
2121
for_each = {
2222
for repository, config in lookup(local.config, "repositories", {}) : lower(repository) =>
2323
{
24-
key = try(repository_config.archived, false) ? "state" : "config"
24+
key = try(config.archived, false) ? "state" : "config"
2525
state = local.state["managed.github_repository.this.${repository}"]
2626
config = merge(config, {
2727
name = repository

0 commit comments

Comments
 (0)