Open neilharris123 opened 1 year ago
I tried to reproduce the issue, but I was unable to. What I tried was to export the module's output as an output from my root module. Also, listing module.<module-name>.repository
from the terraform console
gave the expected output.
Can you confirm whether you have the attribute when you create a resource without using the module? If not, then it might be an issue with the upstream provider.
Also, could you please mention the version of the provider that you are using?
I just noticed that you had an attributes
key in the output you pasted.
Also, the output does not have other attributes like archive_on_destroy
, has_discussions
, pages
, security configuration, merge configuration, etc.
That seems odd.
Can you also provide a sample configuration of how you are attempting to access the attribute?
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:Is there any reason this one attribute is not generated by the module?