Hello,
I’m trying to run my terraform code from atlantis but I’m getting this error:
provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5
Killed
I’m able to run the code from my local machine but not from Atlantis.
There is a difference when I run from Atlantis I need to assume_role becase Atlantis is running on a different aws account.
My provider aws looks like this:
provider "aws" {
region = var.region
default_tags {
tags = var.wd_standard_tags
}
dynamic "assume_role" {
for_each = var.assume_role_arn == "" ? [] : [var.assume_role_arn]
content {
role_arn = var.assume_role_arn
}
}
}
My command from Atlantis is
terraform plan -var-file ../../common.tfvars -var assume_role_arn="arn:aws:iam::xxxxxxxx:role/SSOAdminRole"
- I have enabled the TF_LOG=debug
- I have updated terraform tried with 1.0.9 and 1.9.5
- I have updated the terraform aws provider
This is the full log:
2024-09-13T16:40:13.277Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5"]
2024-09-13T16:40:13.277Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 pid=2688
2024-09-13T16:40:13.277Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5
2024-09-13T16:40:13.670Z [INFO] provider.terraform-provider-aws_v5.67.0_x5: configuring server automatic mTLS: timestamp=2024-09-13T16:40:13.670Z
2024-09-13T16:40:13.684Z [DEBUG] provider.terraform-provider-aws_v5.67.0_x5: plugin address: address=/tmp/plugin3279032500 network=unix timestamp=2024-09-13T16:40:13.684Z
2024-09-13T16:40:13.684Z [DEBUG] provider: using plugin: version=5
2024-09-13T16:40:13.694Z [DEBUG] created provider logger: level=debug
2024-09-13T16:40:13.694Z [INFO] provider: configuring client automatic mTLS
2024-09-13T16:40:13.703Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5"]
2024-09-13T16:40:13.704Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 pid=2695
2024-09-13T16:40:13.704Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5
2024-09-13T16:40:14.137Z [INFO] provider.terraform-provider-aws_v5.67.0_x5: configuring server automatic mTLS: timestamp=2024-09-13T16:40:14.137Z
2024-09-13T16:40:14.151Z [DEBUG] provider: using plugin: version=5
2024-09-13T16:40:14.151Z [DEBUG] provider.terraform-provider-aws_v5.67.0_x5: plugin address: address=/tmp/plugin2972811005 network=unix timestamp=2024-09-13T16:40:14.151Z
2024-09-13T16:40:14.162Z [DEBUG] created provider logger: level=debug
2024-09-13T16:40:14.162Z [INFO] provider: configuring client automatic mTLS
2024-09-13T16:40:14.171Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5"]
2024-09-13T16:40:14.172Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 pid=2703
2024-09-13T16:40:14.172Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5
2024-09-13T16:40:14.639Z [INFO] provider.terraform-provider-aws_v5.67.0_x5: configuring server automatic mTLS: timestamp=2024-09-13T16:40:14.639Z
2024-09-13T16:40:14.653Z [DEBUG] provider: using plugin: version=5
2024-09-13T16:40:14.653Z [DEBUG] provider.terraform-provider-aws_v5.67.0_x5: plugin address: address=/tmp/plugin1437163935 network=unix timestamp=2024-09-13T16:40:14.653Z
2024-09-13T16:40:14.663Z [DEBUG] created provider logger: level=debug
2024-09-13T16:40:14.663Z [INFO] provider: configuring client automatic mTLS
2024-09-13T16:40:14.669Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5"]
2024-09-13T16:40:14.671Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 pid=2711
2024-09-13T16:40:14.671Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5
2024-09-13T16:40:16.129Z [INFO] provider.terraform-provider-aws_v5.67.0_x5: configuring server automatic mTLS: timestamp=2024-09-13T16:40:16.123Z
2024-09-13T16:40:16.231Z [DEBUG] provider.terraform-provider-aws_v5.67.0_x5: plugin address: address=/tmp/plugin3747666409 network=unix timestamp=2024-09-13T16:40:16.231Z
2024-09-13T16:40:16.231Z [DEBUG] provider: using plugin: version=5
2024-09-13T16:40:16.271Z [DEBUG] created provider logger: level=debug
2024-09-13T16:40:16.271Z [INFO] provider: configuring client automatic mTLS
2024-09-13T16:40:16.278Z [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 args=[".terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5"]
2024-09-13T16:40:16.279Z [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5 pid=2719
2024-09-13T16:40:16.280Z [DEBUG] provider: waiting for RPC address: plugin=.terraform/providers/registry.terraform.io/hashicorp/aws/5.67.0/linux_amd64/terraform-provider-aws_v5.67.0_x5
It is really not helping the debug to understand the issue I’d appreciate if someone can spot some light on this issue. Thanks