terraform-provider-github
terraform-provider-github copied to clipboard
Adding a computed attribute for the repository owner to the github_repository
Resolves #2503
Before the change?
- The repository owner has to either be parsed out of the
full_name, or passed around as a separate variable.
After the change?
- Repository owner is now a computed field in both the repository resource and data source.
- The data source can be queried by
name+ownerwhen using anonymous auth.full_namewill also still work.
Pull request checklist
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
Does this introduce a breaking change?
Please see our docs on breaking changes to help!
- [ ] Yes
- [x] No