╷
│ Error: Missing required argument
│
│ with module.github_secret.github_actions_environment_secret.secrets[0],
│ on .terraform/modules/github_secret/github-env-vault/main.tf line 25, in resource "github_actions_environment_secret" "secrets":
│ 25: repository = data.github_repository.repo.name
│
│ The argument "repository" is required, but no definition was found.
╵
Panic Output
No response
Code of Conduct
[X] I agree to follow this project's Code of Conduct
Expected Behavior
Argument repository should be detected.
Actual Behavior
Argument repository is not detected.
Terraform Version
Terraform v1.8.1 on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
No response
Steps to Reproduce
I encounter this issue. So, I create terraform module to import secret from vault to github environment:
And then I use the module on my tf script:
Debug Output
Panic Output
No response
Code of Conduct