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

enable terraform-docs gh ation for terraform-module-proxmox-container #56

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

glitchcrab
Copy link
Collaborator

No description provided.

@glitchcrab glitchcrab self-assigned this Jun 19, 2023
@glitchcrab-bot
Copy link
Contributor

Ran Plan for dir: repositories/terraform-module-proxmox-container workspace: default

Plan Error

Show Output
running "/usr/local/bin/terraform plan -input=false -refresh -out \"/atlantis-data/repos/a7d-corp/github-repo-management/56/default/repositories/terraform-module-proxmox-container/terraform-module-proxmox-container-default.tfplan\"" in "/atlantis-data/repos/a7d-corp/github-repo-management/56/default/repositories/terraform-module-proxmox-container": exit status 1
╷
│ Warning: Value for undeclared variable
│ 
│ The root module does not declare a variable named "is_terraform_module" but
│ a value was found in file "terraform.tfvars". If you meant to use this
│ value, add a "variable" block to the configuration.
│ 
│ To silence these warnings, use TF_VAR_... environment variables to provide
│ certain "global" settings to all configurations in your organization. To
│ reduce the verbosity of these warnings, use the -compact-warnings option.
╵
╷
│ Error: Reference to undeclared input variable
│ 
│   on github_repo_common_files.tf line 56, in resource "github_repository_file" "workflow_terraform_docs_validate":
│   56:   count = var.is_terraform_module ? 1 : 0
│ 
│ An input variable with the name "is_terraform_module" has not been
│ declared. This variable can be declared with a variable
│ "is_terraform_module" {} block.
╵
╷
│ Error: Reference to undeclared input variable
│ 
│   on github_repo_common_files.tf line 71, in resource "github_repository_file" "config_terraform_docs":
│   71:   count = var.is_terraform_module ? 1 : 0
│ 
│ An input variable with the name "is_terraform_module" has not been
│ declared. This variable can be declared with a variable
│ "is_terraform_module" {} block.
╵
╷
│ Error: Invalid function argument
│ 
│   on github_repo_common_files.tf line 76, in resource "github_repository_file" "config_terraform_docs":
│   76:   content             = file("${path.module}/files/files/tooling/terraform-docs.yml")
│     ├────────────────
│     │ while calling file(path)
│     │ path.module is "."
│ 
│ Invalid value for "path" parameter: no file exists at
│ "./files/files/tooling/terraform-docs.yml"; this function works only with
│ files that are distributed as part of the configuration source code, so if
│ this file will be created by a resource in this configuration you must
│ instead obtain this result from an attribute of that resource.
╵

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