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

Terraform error in 'docker-demo-data-setup.sh' script #3

Open
markmo opened this issue Feb 14, 2024 · 1 comment
Open

Terraform error in 'docker-demo-data-setup.sh' script #3

markmo opened this issue Feb 14, 2024 · 1 comment

Comments

@markmo
Copy link

markmo commented Feb 14, 2024

Error: Reference to undeclared resource

│ on main.tf line 154, in module "anaml_demo_features":
│ 154: source_id = anaml-operations_source.local.id

│ A managed resource "anaml-operations_source" "local" has not been declared in the root module.

@markmo
Copy link
Author

markmo commented Feb 14, 2024

Fixing main.tf:

module "anaml_demo_features" {
source = "./modules/anaml_demo"
cluster_id = anaml-operations_cluster.local.id
destination_id = anaml-operations_destination.local.id
source_id = anaml-operations_source.local_orc.id
source_type = "local_orc"
destination_type = "local"
}

then runs into the following error:

Error: status: 422, body: The request body was invalid. Missing required field: DownField(adt_type),DownField(source)

│ with module.anaml_demo_features.anaml_table.towns,
│ on modules/anaml_demo/tables.tf line 1, in resource "anaml_table" "towns":
│ 1: resource "anaml_table" "towns" {

which is repeated across many tables.

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

No branches or pull requests

1 participant