Run terraform init
Initializing the backend...
Successfully configured the backend "local"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules...
Downloading git::https://github.com/YOUR_USERNAME/infra-modules.git?ref=v1.0.0 for app_config...
╷
│ Error: Failed to download module
│
│ on main.tf line 9:
│ 9: module "app_config" {
│
│ Could not download module "app_config" (main.tf:9) source code from
│ "git::https://github.com/YOUR_USERNAME/infra-modules.git?ref=v1.0.0": error
│ downloading
│ 'https://github.com/YOUR_USERNAME/infra-modules.git?ref=v1.0.0':
│ /usr/bin/git exited with 128: Cloning into
│ '.terraform/modules/app_config'...
│ fatal: could not read Username for 'https://github.com/': No such device or
│ address
│
╵
Error: Terraform exited with code 1.
Error: Process completed with exit code 1.
Run terraform init
Initializing the backend...
Successfully configured the backend "local"! Terraform will automatically
use this backend unless the backend configuration changes.
Initializing modules...
Downloading git::https://github.com/YOUR_USERNAME/infra-modules.git?ref=v1.0.0 for app_config...
╷
│ Error: Failed to download module
│
│ on main.tf line 9:
│ 9: module "app_config" {
│
│ Could not download module "app_config" (main.tf:9) source code from
│ "git::https://github.com/YOUR_USERNAME/infra-modules.git?ref=v1.0.0": error
│ downloading
│ 'https://github.com/YOUR_USERNAME/infra-modules.git?ref=v1.0.0':
│ /usr/bin/git exited with 128: Cloning into
│ '.terraform/modules/app_config'...
│ fatal: could not read Username for 'https://github.com/': No such device or
│ address
│
╵
Error: Terraform exited with code 1.
Error: Process completed with exit code 1.