Skip to content

[Bug]: Terraform init doesn't work as it is. It needs a work around #77

@gauravkantrodtw

Description

@gauravkantrodtw

What happened?

I have cloned this repository.
Navigated to: terraform-aws-openmetadata/examples/complete
ran: terraform init

error:
Initializing the backend...
Initializing modules...
Downloading registry.terraform.io/open-metadata/openmetadata/aws 1.10.7 for app...

  • app in .terraform/modules/app
  • app.airflow_db in .terraform/modules/app/modules/rds
    Downloading registry.terraform.io/terraform-aws-modules/rds/aws 6.13.1 for app.airflow_db.rds...
  • app.airflow_db.rds in .terraform/modules/app.airflow_db.rds
  • app.airflow_db.rds.db_instance in .terraform/modules/app.airflow_db.rds/modules/db_instance
  • app.airflow_db.rds.db_instance_role_association in .terraform/modules/app.airflow_db.rds/modules/db_instance_role_association
  • app.airflow_db.rds.db_option_group in .terraform/modules/app.airflow_db.rds/modules/db_option_group
  • app.airflow_db.rds.db_parameter_group in .terraform/modules/app.airflow_db.rds/modules/db_parameter_group
  • app.airflow_db.rds.db_subnet_group in .terraform/modules/app.airflow_db.rds/modules/db_subnet_group
    Downloading registry.terraform.io/terraform-aws-modules/security-group/aws 5.3.1 for app.airflow_db.sg_db...
  • app.airflow_db.sg_db in .terraform/modules/app.airflow_db.sg_db
  • app.airflow_efs in .terraform/modules/app/modules/airflow-efs
    Downloading registry.terraform.io/terraform-aws-modules/security-group/aws 5.3.1 for app.airflow_efs.sg_efs...
  • app.airflow_efs.sg_efs in .terraform/modules/app.airflow_efs.sg_efs
  • app.db in .terraform/modules/app/modules/rds
    Downloading registry.terraform.io/terraform-aws-modules/rds/aws 6.13.1 for app.db.rds...
  • app.db.rds in .terraform/modules/app.db.rds
  • app.db.rds.db_instance in .terraform/modules/app.db.rds/modules/db_instance
  • app.db.rds.db_instance_role_association in .terraform/modules/app.db.rds/modules/db_instance_role_association
  • app.db.rds.db_option_group in .terraform/modules/app.db.rds/modules/db_option_group
  • app.db.rds.db_parameter_group in .terraform/modules/app.db.rds/modules/db_parameter_group
  • app.db.rds.db_subnet_group in .terraform/modules/app.db.rds/modules/db_subnet_group
    Downloading registry.terraform.io/terraform-aws-modules/security-group/aws 5.3.1 for app.db.sg_db...
  • app.db.sg_db in .terraform/modules/app.db.sg_db
  • app.deployment in .terraform/modules/app/modules/openmetadata-deployment
  • app.openmetadata_deps in .terraform/modules/app/modules/openmetadata-dependencies
  • app.opensearch in .terraform/modules/app/modules/opensearch
    Downloading registry.terraform.io/terraform-aws-modules/security-group/aws 5.3.1 for app.opensearch.opensearch_sg...
  • app.opensearch.opensearch_sg in .terraform/modules/app.opensearch.opensearch_sg
    Downloading registry.terraform.io/terraform-aws-modules/iam/aws 6.2.3 for ebs_csi_irsa...
  • ebs_csi_irsa in .terraform/modules/ebs_csi_irsa/modules/iam-role-for-service-accounts-eks
    Downloading registry.terraform.io/terraform-aws-modules/iam/aws 6.2.3 for efs_csi_irsa...
  • efs_csi_irsa in .terraform/modules/efs_csi_irsa/modules/iam-role-for-service-accounts-eks
    Downloading registry.terraform.io/terraform-aws-modules/vpc/aws 5.16.0 for vpc...
  • vpc in .terraform/modules/vpc

    │ Error: Unreadable module directory

    │ The directory .terraform/modules/ebs_csi_irsa/modules/iam-role-for-service-accounts-eks could not be read. This is a bug in Terraform and should be reported.


│ Error: Unreadable module directory

│ The directory .terraform/modules/efs_csi_irsa/modules/iam-role-for-service-accounts-eks could not be read. This is a bug in Terraform and should be reported.

Expected behavior

No response

Observed behavior

No response

Terraform Configuration

Din't change anything. Running as it is.
  - Region: eu-west-1
  - EKS Version: 1.31
  - OpenMetadata Version: 1.10.7
  - Node Type: t3.xlarge
  - Database: PostgreSQL 16 on RDS
  - Search: OpenSearch 2.7

Terraform Version

terraform version
Terraform v1.8.2
on darwin_arm64

Terraform Provider Versions

- Terraform: ~> 1.0
  - AWS Provider: ~> 5.0
  - OpenMetadata AWS Module: 1.10.7
  - VPC Module: ~> 5.16.0
  - Metrics Server Helm Chart: 3.12.2

Additional information

Laptop: macOS tahoe 26.1 Apple M3 Pro.

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

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