eclipse-tractusx / eclipse-tractusx/tutorial-resources

Error execution Terraform

Open
#497 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
19
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have followed the steps in the installation guide. However, when I run Terraform Apply, it crashes.

### Current Behavior
When I run the command terraform apply fail with this error:

```
Error: Waiting for rollout to finish: 1 replicas wanted; 0 replicas Ready

│ with kubernetes_deployment.data-service-api,
│ on data-service-api.tf line 15, in resource "kubernetes_deployment" "data-service-api":
│ 15: resource "kubernetes_deployment" "data-service-api" {



│ Error: job: mxd/alice-azurite-init is not in complete state

│ with module.alice-connector.kubernetes_job.azurite-init,
│ on modules/connector/azurite-container.tf line 20, in resource "kubernetes_job" "azurite-init":
│ 20: resource "kubernetes_job" "azurite-init" {



│ Error: job: mxd/bob-azurite-init is not in complete state

│ with module.bob-connector.kubernetes_job.azurite-init,
│ on modules/connector/azurite-container.tf line 20, in resource "kubernetes_job" "azurite-init":
│ 20: resource "kubernetes_job" "azurite-init" {



│ Error: Failed to create deployment: namespaces "mxd" not found

│ with module.bob-minio.kubernetes_deployment.minio,
│ on modules/minio/main.tf line 20, in resource "kubernetes_deployment" "minio":
│ 20: resource "kubernetes_deployment" "minio" {



│ Error: Failed to create deployment: namespaces "mxd" not found

│ with module.alice-minio.kubernetes_deployment.minio,
│ on modules/minio/main.tf line 20, in resource "kubernetes_deployment" "minio":
│ 20: resource "kubernetes_deployment" "minio" {



│ Error: namespaces "mxd" not found

│ with module.alice-minio.kubernetes_service.minio-service,
│ on modules/minio/nodeport.tf line 20, in resource "kubernetes_service" "minio-service":
│ 20: resource "kubernetes_service" "minio-service" {



│ Error: namespaces "mxd" not found

│ with module.bob-minio.kubernetes_service.minio-service,
│ on modules/minio/nodeport.tf line 20, in resource "kubernetes_service" "minio-service":
│ 20: resource "kubernetes_service" "minio-service" {



│ Error: namespaces "mxd" not found

│ with module.alice-minio.kubernetes_config_map.document,
│ on modules/minio/s3bucket_job.tf line 98, in resource "kubernetes_config_map" "document":
│ 98: resource "kubernetes_config_map" "document" {



│ Error: namespaces "mxd" not found

│ with module.bob-minio.kubernetes_config_map.document,
│ on modules/minio/s3bucket_job.tf line 98, in resource "kubernetes_config_map" "document":
│ 98: resource "kubernetes_config_map" "document" {



│ Error: Waiting for rollout to finish: 1 replicas wanted; 0 replicas Ready

│ with module.alice-sts.kubernetes_deployment.sts,
│ on modules/sts/sts.tf line 14, in resource "kubernetes_deployment" "sts":
│ 14: resource "kubernetes_deployment" "sts" {

```

![image](https://github.com/user-attachments/assets/2d4c2b43-865d-4ed5-9f3a-643b15aec1ae)

### Steps To Reproduce

run command --> terraform apply

Best regards and thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.