Skip to content

Commit

Permalink
comment links to some helpful docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Jul 28, 2024
1 parent af4863a commit fff58dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion locals.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
environments = ["Development", "UAT", "Production"]

####
#### https://developer.hashicorp.com/terraform/language/functions/flatten#flattening-nested-structures-for-for_each
# create a list of objects
# [
# {
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ data "github_repositories" "my_topics" {
}

resource "github_repository_environment" "environments" {
# https://developer.hashicorp.com/terraform/language/meta-arguments/for_each
# local.repo_environments is a list of objects
# so we must project that into a map
# where each key is unique
Expand Down

0 comments on commit fff58dd

Please sign in to comment.