I want to create custom module via tfe_registry_module
.
But when I create this resource, I keep getting the error. There is absolutely no problem when creating from the Web Console.
resource "tfe_registry_module" "workspace" {
vcs_repo {
display_identifier = "MY_ORG/terraform-module-workspace"
identifier = "MY_ORG/terraform-module-workspace"
oauth_token_id = TOKEN
}
}
Error: Error creating registry module from repository MY_ORG/terraform-module-workspace: resource not found
with tfe_registry_module.workspace
on modules.tf line 1, in resource "tfe_registry_module" "workspace":
resource "tfe_registry_module" "workspace" {}