Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation regarding importing github branch into a for each configuration #1007

Merged
merged 2 commits into from
Jan 20, 2022

Conversation

roimor
Copy link
Contributor

@roimor roimor commented Dec 9, 2021

Importing github branch into an instnaces object (when using a for each block to manage multiple branches)
e.g

resource "github_branch" "staging" {
  for_each      = toset(data.github_repositories.repos.names)
  repository    = each.key
  source_branch = "main"
  branch               =  "staging"
}

Importing github branch into an instnaces object (when using a for each block to manage multiple branches) 
e.g 
```
resource "github_branch" "staging" {
  for_each      = toset(data.github_repositories.repos.names)
  repository    = each.key
  source_branch = "main"
  branch               =  "staging"
}
```
@roimor roimor changed the title Update branch.html.markdown Update documentation regarding importing github branch into a for each configuration Dec 9, 2021
@jcudit jcudit added this to the v4.19.1 milestone Jan 5, 2022
website/docs/r/branch.html.markdown Outdated Show resolved Hide resolved
@jcudit jcudit modified the milestones: v4.19.1, v4.20.0 Jan 5, 2022
Co-authored-by: Jeremy Udit <jcudit@github.com>
@roimor
Copy link
Contributor Author

roimor commented Jan 6, 2022

who can merge this?

@jcudit jcudit modified the milestones: v4.20.0, v4.19.2 Jan 20, 2022
@jcudit jcudit merged commit 2e3908a into integrations:main Jan 20, 2022
kfcampbell pushed a commit to kfcampbell/terraform-provider-github that referenced this pull request Jul 26, 2022
…h configuration (integrations#1007)

* Update branch.html.markdown

Importing github branch into an instnaces object (when using a for each block to manage multiple branches) 
e.g 
```
resource "github_branch" "staging" {
  for_each      = toset(data.github_repositories.repos.names)
  repository    = each.key
  source_branch = "main"
  branch               =  "staging"
}
```

* Update website/docs/r/branch.html.markdown

Co-authored-by: Jeremy Udit <jcudit@github.com>

Co-authored-by: Jeremy Udit <jcudit@github.com>
kazaker pushed a commit to auto1-oss/terraform-provider-github that referenced this pull request Dec 28, 2022
…h configuration (integrations#1007)

* Update branch.html.markdown

Importing github branch into an instnaces object (when using a for each block to manage multiple branches) 
e.g 
```
resource "github_branch" "staging" {
  for_each      = toset(data.github_repositories.repos.names)
  repository    = each.key
  source_branch = "main"
  branch               =  "staging"
}
```

* Update website/docs/r/branch.html.markdown

Co-authored-by: Jeremy Udit <jcudit@github.com>

Co-authored-by: Jeremy Udit <jcudit@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants