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

Unsupported block type #487

Open
venom90 opened this issue Jan 26, 2023 · 0 comments
Open

Unsupported block type #487

venom90 opened this issue Jan 26, 2023 · 0 comments

Comments

@venom90
Copy link

venom90 commented Jan 26, 2023

I'm getting this error when zero apply

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.
╷
│ Error: Unsupported block type
│
│   on .terraform/modules/stage.create_db_user.docker_image/modules/docker-build/main.tf line 25, in resource "docker_registry_image" "this":
│   25:   build {
│
│ Blocks of type "build" are not expected here.
╵
make[1]: Leaving directory '/root/sumatra/infrastructure'
make[1]: *** [Makefile:43: apply-env] Error 1
make: *** [Makefile:8: make-apply] Error 2
2023/01/26 03:03:46 Module Apply failed: Module (zero-aws-eks-stack) ╷
│ Error: Unsupported block type
│
│   on .terraform/modules/stage.create_db_user.docker_image/modules/docker-build/main.tf line 25, in resource "docker_registry_image" "this":
│   25:   build {
│
│ Blocks of type "build" are not expected here.
╵
make[1]: *** [Makefile:43: apply-env] Error 1
make: *** [Makefile:8: make-apply] Error 2

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