terraform-github-repository icon indicating copy to clipboard operation
terraform-github-repository copied to clipboard

repo_id attribute from github_repository resource not generated

Open neilharris123 opened this issue 9 months ago • 2 comments

As explained here all attributes from the github_repository resource should be exported by the module.
There is an attribute on the github_repository documentation named repo_id.

However, when I create a github repository with the mineiros-io module, this repo_id attribute does not exist. For example, my attributes look something like this:

{
  "attributes": {
    "allow_merge_commit": true,
    "allow_rebase_merge": true,
    "allow_squash_merge": true,
    "archived": false,
    "auto_init": false,
    "default_branch": "master",
    "delete_branch_on_merge": false,
    "description": "",
    "etag": "W/\"b62fa29d48ada996cea8f6f4742c81c0c62b21256e886a72a356089eb57077c4\"",
    "full_name": "exampleorg/repo-anonymized",
    "git_clone_url": "git://github.com/exampleorg/repo-anonymized.git",
    "gitignore_template": null,
    "has_downloads": true,
    "has_issues": true,
    "has_projects": false,
    "has_wiki": true,
    "homepage_url": "",
    "html_url": "https://github.com/exampleorg/repo-anonymized",
    "http_clone_url": "https://github.com/exampleorg/repo-anonymized.git",
    "id": "repo-anonymized",
    "is_template": false,
    "license_template": null,
    "name": "repo-anonymized",
    "node_id": "MDEwOlJlcG9zaXRvcnk3NDU4OTg4NQ==",
    "private": true,
    "ssh_clone_url": "git@exampleorg/repo-anonymized.git",
    "svn_url": "https://github.com/exampleorg/repo-anonymized",
    "template": [],
    "topics": [],
    "visibility": "private"
  }
}

Is there any reason this one attribute is not generated by the module?

neilharris123 avatar Oct 05 '23 11:10 neilharris123