ISSUE
While attempting a terraform plan, the following errors were encountered:
$ terraform plan
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/foundations_github_organization/modules/foundations-github-organization/action-variables.tf line 6, in resource "github_actions_secret" "organization_workload_identity_sa":
│ 6: value = var.organization_workload_identity_sa
│
│ An argument named "value" is not expected here.
╵
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/foundations_github_organization/modules/foundations-github-organization/action-variables.tf line 21, in resource "github_actions_organization_secret" "workload_identity_provider":
│ 21: value = var.workload_identity_provider_name
│
│ An argument named "value" is not expected here.
╵
╷
│ Error: Reference to undeclared resource
│
│ on .terraform/modules/foundations_github_organization/modules/foundations-github-organization/repo_readme.tf line 10, in resource "github_repository_file" "main_readme":
│ 10: content = data.file.main_readme.content
│
│ A data resource "file" "main_readme" has not been declared in
│ module.foundations_github_organization.
Indicating issues with the variables:
- in resource
github_actions_secret.organization_workload_identity_sa.value
- in resource
"github_repository_file.main_readme"
- content = data.file.main_readme.content
ISSUE
While attempting a
terraform plan, the following errors were encountered:Indicating issues with the variables:
github_actions_secret.organization_workload_identity_sa.value"github_repository_file.main_readme"