Skip to content

Error execution Terraform #497

Description

@jbrazuelo-SQS

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

Steps To Reproduce

run command --> terraform apply

Best regards and thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions