hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.87k stars 9.21k forks source link

[Bug]: Terraform validate hang with latest aws provider 5.78.0 #40367

Closed queglay closed 2 days ago

queglay commented 2 days ago

Terraform Core Version

1.5.6

AWS Provider Version

5.78.0

Affected Resource(s)

terraform validate

Expected Behavior

terraform validate should not hang

Actual Behavior

terraform validate hangs when executed

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

terraform { cloud { organization = "FirehawkVFX"

workspaces {
  name = "tf-aws-lambda-nebula-main"
}

}

required_providers { aws = { source = "hashicorp/aws" version = "~> 5.78.0" } http = { source = "hashicorp/http" version = "~> 2.0" } }

required_version = ">= 1.2.0, <= 1.5.6" }

Steps to Reproduce

Run terraform validate on mac os (M2 pro)

Debug Output

Mac:tf_main user$ export TF_LOG=DEBUG terraform validate 2024-11-30T07:12:22.559+1000 [INFO] Terraform version: 1.5.6 2024-11-30T07:12:22.559+1000 [DEBUG] using github.com/hashicorp/go-tfe v1.26.0 2024-11-30T07:12:22.559+1000 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.2 2024-11-30T07:12:22.559+1000 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.0 2024-11-30T07:12:22.559+1000 [DEBUG] using github.com/zclconf/go-cty v1.12.2 2024-11-30T07:12:22.559+1000 [INFO] Go runtime version: go1.20.7 2024-11-30T07:12:22.559+1000 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/3.0.0/versions/1.5.6/terraform", "validate"} 2024-11-30T07:12:22.559+1000 [DEBUG] Attempting to open CLI config file: /Users/user/.terraformrc 2024-11-30T07:12:22.559+1000 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. 2024-11-30T07:12:22.559+1000 [INFO] Loading CLI configuration from /Users/user/.terraform.d/credentials.tfrc.json 2024-11-30T07:12:22.560+1000 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins 2024-11-30T07:12:22.560+1000 [DEBUG] ignoring non-existing provider search directory /Users/user/.terraform.d/plugins 2024-11-30T07:12:22.560+1000 [DEBUG] ignoring non-existing provider search directory /Users/user/Library/Application Support/io.terraform/plugins 2024-11-30T07:12:22.560+1000 [DEBUG] ignoring non-existing provider search directory /Library/Application Support/io.terraform/plugins 2024-11-30T07:12:22.561+1000 [INFO] CLI command args: []string{"validate"} 2024-11-30T07:12:25.217+1000 [DEBUG] checking for provisioner in "." 2024-11-30T07:12:25.217+1000 [DEBUG] checking for provisioner in "/usr/local/Cellar/tfenv/3.0.0/versions/1.5.6" 2024-11-30T07:12:25.217+1000 [DEBUG] Building and walking validate graph 2024-11-30T07:12:25.218+1000 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/archive"], implied first by data.archive_file.store_crt_secret_function_payload 2024-11-30T07:12:25.218+1000 [DEBUG] adding implicit provider configuration provider["registry.terraform.io/hashicorp/null"], implied first by null_resource.calculate_hash 2024-11-30T07:12:25.218+1000 [DEBUG] adding implicit provider configuration provider["terraform.io/builtin/terraform"], implied first by data.terraform_remote_state.tf_init 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "data.archive_file.store_ca_secret_function_payload" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/archive"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_lambda_layer_version.nebula_cert_layer" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "data.archive_file.nebulacertgen_function_payload" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/archive"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_lambda_function.aquire_cert" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_lambda_layer_version.jinja_layer" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "data.archive_file.store_crt_secret_function_payload" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/archive"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_lambda_function.nebula_config" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_cloudwatch_log_group.lambda_logging" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "data.terraform_remote_state.tf_init" (terraform.NodeValidatableResource) needs provider["terraform.io/builtin/terraform"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_cloudwatch_log_group.store_crt_secret_lambda_logging" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "data.aws_caller_identity.current" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "data.archive_file.lambda_layer_runtime" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/archive"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_s3_object.nebula_bootstrap" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.218+1000 [DEBUG] ProviderTransformer: "aws_lambda_function.store_crt_secret" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "aws_cloudwatch_log_group.store_ca_secret_lambda_logging" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "aws_lambda_function.store_ca_secret" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "aws_lambda_layer_version.lambda_layer_runtime" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "aws_cloudwatch_log_group.nebula_config_lambda_logging" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "data.aws_lambda_invocation.store_ca_secret" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/aws"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "null_resource.calculate_hash" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/null"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "data.archive_file.jinja_layer" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/archive"] 2024-11-30T07:12:25.219+1000 [DEBUG] ProviderTransformer: "data.archive_file.nebula_config_function_payload" (terraform.NodeValidatableResource) needs provider["registry.terraform.io/hashicorp/archive"] 2024-11-30T07:12:25.219+1000 [DEBUG] pruning unused provider["registry.terraform.io/hashicorp/http"] 2024-11-30T07:12:25.219+1000 [DEBUG] created provider logger: level=debug 2024-11-30T07:12:25.219+1000 [INFO] provider: configuring client automatic mTLS 2024-11-30T07:12:25.241+1000 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5] 2024-11-30T07:12:25.248+1000 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 pid=17748 2024-11-30T07:12:25.248+1000 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 2024-11-30T07:12:25.453+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: Starting github.com/hashicorp/terraform-provider-aws@5.78.0 (go1.23.3)... 2024-11-30T07:12:25.453+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: Initializing Terraform AWS Provider... 2024-11-30T07:12:25.498+1000 [INFO] provider.terraform-provider-aws_v5.78.0_x5: configuring server automatic mTLS: timestamp=2024-11-30T07:12:25.498+1000 2024-11-30T07:12:25.532+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: plugin address: address=/var/folders/1l/588xthcx50vghqzq2sn9lqh00000gn/T/plugin2158916136 network=unix timestamp=2024-11-30T07:12:25.532+1000 2024-11-30T07:12:25.533+1000 [DEBUG] provider: using plugin: version=5 2024-11-30T07:12:26.353+1000 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2024-11-30T07:12:26.368+1000 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 pid=17748 2024-11-30T07:12:26.368+1000 [DEBUG] provider: plugin exited 2024-11-30T07:12:26.369+1000 [DEBUG] created provider logger: level=debug 2024-11-30T07:12:26.369+1000 [INFO] provider: configuring client automatic mTLS 2024-11-30T07:12:26.377+1000 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5] 2024-11-30T07:12:26.385+1000 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 pid=17750 2024-11-30T07:12:26.386+1000 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 2024-11-30T07:12:26.436+1000 [INFO] provider.terraform-provider-archive_v2.6.0_x5: configuring server automatic mTLS: timestamp=2024-11-30T07:12:26.436+1000 2024-11-30T07:12:26.465+1000 [DEBUG] provider.terraform-provider-archive_v2.6.0_x5: plugin address: address=/var/folders/1l/588xthcx50vghqzq2sn9lqh00000gn/T/plugin3182867117 network=unix timestamp=2024-11-30T07:12:26.465+1000 2024-11-30T07:12:26.466+1000 [DEBUG] provider: using plugin: version=5 2024-11-30T07:12:26.501+1000 [DEBUG] No provider meta schema returned 2024-11-30T07:12:26.503+1000 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2024-11-30T07:12:26.507+1000 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 pid=17750 2024-11-30T07:12:26.507+1000 [DEBUG] provider: plugin exited 2024-11-30T07:12:26.507+1000 [ERROR] AttachSchemaTransformer: No provider config schema available for provider["terraform.io/builtin/terraform"] 2024-11-30T07:12:26.507+1000 [DEBUG] created provider logger: level=debug 2024-11-30T07:12:26.507+1000 [INFO] provider: configuring client automatic mTLS 2024-11-30T07:12:26.514+1000 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5] 2024-11-30T07:12:26.522+1000 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 pid=17751 2024-11-30T07:12:26.522+1000 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 2024-11-30T07:12:26.569+1000 [INFO] provider.terraform-provider-null_v3.2.3_x5: configuring server automatic mTLS: timestamp=2024-11-30T07:12:26.569+1000 2024-11-30T07:12:26.585+1000 [DEBUG] provider.terraform-provider-null_v3.2.3_x5: plugin address: address=/var/folders/1l/588xthcx50vghqzq2sn9lqh00000gn/T/plugin1940363970 network=unix timestamp=2024-11-30T07:12:26.585+1000 2024-11-30T07:12:26.586+1000 [DEBUG] provider: using plugin: version=5 2024-11-30T07:12:26.621+1000 [DEBUG] No provider meta schema returned 2024-11-30T07:12:26.622+1000 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2024-11-30T07:12:26.626+1000 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 pid=17751 2024-11-30T07:12:26.626+1000 [DEBUG] provider: plugin exited 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_lambda_layer_version.nebula_cert_layer" references: [null_resource.calculate_hash null_resource.calculate_hash] 2024-11-30T07:12:26.627+1000 [INFO] ReferenceTransformer: reference not found: "path.module" 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "data.archive_file.nebulacertgen_function_payload" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "local.store_ca_secret_lambda_function_name (expand)" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "provider[\"terraform.io/builtin/terraform\"]" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "var.region" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "local.iam_for_lambda_aquire_cert_arn (expand)" references: [data.terraform_remote_state.tf_init] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_lambda_layer_version.lambda_layer_runtime" references: [data.archive_file.lambda_layer_runtime data.archive_file.lambda_layer_runtime] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_lambda_layer_version.jinja_layer" references: [data.archive_file.jinja_layer data.archive_file.jinja_layer] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_cloudwatch_log_group.nebula_config_lambda_logging" references: [local.nebula_config_lambda_function_name (expand)] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "data.aws_lambda_invocation.store_ca_secret" references: [aws_lambda_function.store_ca_secret local.store_ca_secret_lambda_function_name (expand) local.nebula_ca_crt_secret_name (expand) local.nebula_ca_key_secret_name (expand)] 2024-11-30T07:12:26.627+1000 [INFO] ReferenceTransformer: reference not found: "path.module" 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "data.archive_file.store_crt_secret_function_payload" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "local.iam_for_lambda_nebula_config_arn (expand)" references: [data.terraform_remote_state.tf_init] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "local.nebula_ca_key_secret_name (expand)" references: [var.resourcetier] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_lambda_function.nebula_config" references: [aws_cloudwatch_log_group.nebula_config_lambda_logging data.archive_file.nebula_config_function_payload local.iam_for_lambda_nebula_config_arn (expand) aws_lambda_layer_version.jinja_layer local.nebula_config_lambda_function_name (expand) data.archive_file.nebula_config_function_payload local.vpn_certs_bucket_name (expand)] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "null_resource.calculate_hash" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_cloudwatch_log_group.lambda_logging" references: [local.nebula_cert_lambda_function_name (expand)] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_lambda_function.aquire_cert" references: [aws_cloudwatch_log_group.lambda_logging data.archive_file.nebulacertgen_function_payload aws_lambda_layer_version.lambda_layer_runtime local.iam_for_lambda_aquire_cert_arn (expand) local.nebula_cert_lambda_function_name (expand) data.archive_file.nebulacertgen_function_payload] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "var.app" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "local.nebula_cert_lambda_function_name (expand)" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_s3_object.nebula_bootstrap" references: [local.vpn_scripts_bucket_name (expand)] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_lambda_function.store_crt_secret" references: [aws_cloudwatch_log_group.store_crt_secret_lambda_logging local.iam_for_lambda_store_crt_secret_arn (expand) data.archive_file.store_crt_secret_function_payload data.archive_file.store_crt_secret_function_payload aws_lambda_layer_version.nebula_cert_layer local.store_crt_secret_lambda_function_name (expand) local.vpn_certs_bucket_name (expand)] 2024-11-30T07:12:26.627+1000 [INFO] ReferenceTransformer: reference not found: "path.module" 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "data.archive_file.store_ca_secret_function_payload" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "var.global_bucket_extension" references: [] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "local.nebula_ca_crt_secret_name (expand)" references: [var.resourcetier] 2024-11-30T07:12:26.627+1000 [DEBUG] ReferenceTransformer: "aws_cloudwatch_log_group.store_ca_secret_lambda_logging" references: [local.store_ca_secret_lambda_function_name (expand)] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "data.terraform_remote_state.tf_init" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "var.resourcetier" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.store_crt_secret_lambda_function_name (expand)" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.nebula_config_lambda_function_name (expand)" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/null\"]" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "aws_lambda_function.store_ca_secret" references: [aws_cloudwatch_log_group.store_ca_secret_lambda_logging data.archive_file.store_ca_secret_function_payload local.store_ca_secret_lambda_function_name (expand) data.archive_file.store_ca_secret_function_payload local.iam_for_lambda_store_ca_secret_arn (expand) aws_lambda_layer_version.nebula_cert_layer] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.iam_for_lambda_store_crt_secret_arn (expand)" references: [data.terraform_remote_state.tf_init] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.vpn_certs_bucket_name (expand)" references: [data.terraform_remote_state.tf_init] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.multi_account_role_arn (expand)" references: [data.aws_caller_identity.current] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/archive\"]" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "aws_cloudwatch_log_group.store_crt_secret_lambda_logging" references: [local.store_crt_secret_lambda_function_name (expand)] 2024-11-30T07:12:26.628+1000 [INFO] ReferenceTransformer: reference not found: "path.module" 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "data.archive_file.jinja_layer" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "data.aws_caller_identity.current" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.vpn_scripts_bucket_name (expand)" references: [data.terraform_remote_state.tf_init] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "provider[\"registry.terraform.io/hashicorp/aws\"]" references: [var.region var.resourcetier var.region] 2024-11-30T07:12:26.628+1000 [INFO] ReferenceTransformer: reference not found: "path.module" 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "data.archive_file.lambda_layer_runtime" references: [] 2024-11-30T07:12:26.628+1000 [INFO] ReferenceTransformer: reference not found: "path.module" 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "data.archive_file.nebula_config_function_payload" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "var.label" references: [] 2024-11-30T07:12:26.628+1000 [DEBUG] ReferenceTransformer: "local.iam_for_lambda_store_ca_secret_arn (expand)" references: [data.terraform_remote_state.tf_init] 2024-11-30T07:12:26.629+1000 [DEBUG] Starting graph walk: walkValidate 2024-11-30T07:12:26.632+1000 [DEBUG] created provider logger: level=debug 2024-11-30T07:12:26.632+1000 [INFO] provider: configuring client automatic mTLS 2024-11-30T07:12:26.646+1000 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5] 2024-11-30T07:12:26.654+1000 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 pid=17752 2024-11-30T07:12:26.654+1000 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 2024-11-30T07:12:26.686+1000 [INFO] provider.terraform-provider-archive_v2.6.0_x5: configuring server automatic mTLS: timestamp=2024-11-30T07:12:26.686+1000 2024-11-30T07:12:26.719+1000 [DEBUG] provider.terraform-provider-archive_v2.6.0_x5: plugin address: network=unix address=/var/folders/1l/588xthcx50vghqzq2sn9lqh00000gn/T/plugin4020033158 timestamp=2024-11-30T07:12:26.718+1000 2024-11-30T07:12:26.719+1000 [DEBUG] provider: using plugin: version=5 2024-11-30T07:12:26.739+1000 [DEBUG] created provider logger: level=debug 2024-11-30T07:12:26.739+1000 [INFO] provider: configuring client automatic mTLS 2024-11-30T07:12:26.747+1000 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5] 2024-11-30T07:12:26.755+1000 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 pid=17757 2024-11-30T07:12:26.755+1000 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 2024-11-30T07:12:26.787+1000 [INFO] provider.terraform-provider-null_v3.2.3_x5: configuring server automatic mTLS: timestamp=2024-11-30T07:12:26.786+1000 2024-11-30T07:12:26.819+1000 [DEBUG] provider.terraform-provider-null_v3.2.3_x5: plugin address: address=/var/folders/1l/588xthcx50vghqzq2sn9lqh00000gn/T/plugin3425649211 network=unix timestamp=2024-11-30T07:12:26.819+1000 2024-11-30T07:12:26.820+1000 [DEBUG] provider: using plugin: version=5 2024-11-30T07:12:26.841+1000 [DEBUG] created provider logger: level=debug 2024-11-30T07:12:26.841+1000 [INFO] provider: configuring client automatic mTLS 2024-11-30T07:12:26.849+1000 [DEBUG] provider: starting plugin: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 args=[.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5] 2024-11-30T07:12:26.857+1000 [DEBUG] provider: plugin started: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 pid=17758 2024-11-30T07:12:26.857+1000 [DEBUG] provider: waiting for RPC address: path=.terraform/providers/registry.terraform.io/hashicorp/aws/5.78.0/darwin_amd64/terraform-provider-aws_v5.78.0_x5 2024-11-30T07:12:27.060+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: Starting github.com/hashicorp/terraform-provider-aws@5.78.0 (go1.23.3)... 2024-11-30T07:12:27.060+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: Initializing Terraform AWS Provider... 2024-11-30T07:12:27.099+1000 [INFO] provider.terraform-provider-aws_v5.78.0_x5: configuring server automatic mTLS: timestamp=2024-11-30T07:12:27.098+1000 2024-11-30T07:12:27.131+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: plugin address: address=/var/folders/1l/588xthcx50vghqzq2sn9lqh00000gn/T/plugin3614655829 network=unix timestamp=2024-11-30T07:12:27.131+1000 2024-11-30T07:12:27.131+1000 [DEBUG] provider: using plugin: version=5 2024-11-30T07:12:27.158+1000 [DEBUG] Initializing remote state backend: remote 2024-11-30T07:12:27.166+1000 [DEBUG] No provider meta schema returned 2024-11-30T07:12:27.167+1000 [DEBUG] No provider meta schema returned 2024-11-30T07:12:27.176+1000 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2024-11-30T07:12:27.181+1000 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/null/3.2.3/darwin_amd64/terraform-provider-null_v3.2.3_x5 pid=17757 2024-11-30T07:12:27.181+1000 [DEBUG] provider: plugin exited 2024-11-30T07:12:27.208+1000 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" 2024-11-30T07:12:27.213+1000 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/hashicorp/archive/2.6.0/darwin_amd64/terraform-provider-archive_v2.6.0_x5 pid=17752 2024-11-30T07:12:27.213+1000 [DEBUG] provider: plugin exited 2024-11-30T07:12:27.906+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: assertion failed [arm_interval().contains(address)]: code fragment does not contain the given arm address 2024-11-30T07:12:27.906+1000 [DEBUG] provider.terraform-provider-aws_v5.78.0_x5: (CodeFragmentMetadata.cpp:48 instruction_extents_for_arm_address)

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 2 days ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

github-actions[bot] commented 2 days ago

[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.

Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.

queglay commented 2 days ago

This was caused by not having the arm64 binary installed on mac (using amd64)