You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the same module, I do not get this error on plan but when I am import a completely unrelated resource. Seems a bit weird to me.
$ tf import module.secrets.aws_kms_key.tf_enc_key bc901111ade7-7e41-42111111a-86cf-1234
module.secrets.aws_kms_key.tf_enc_key: Importing from ID "bc901111ade7-7e41-42111111a-86cf-1234"...
module.secrets.aws_kms_key.tf_enc_key: Import prepared!
Prepared aws_kms_key for import
module.secrets.aws_kms_key.tf_enc_key: Refreshing state... [id=bc901111ade7-7e41-42111111a-86cf-1234]
Error: Error in function call
on .terraform/modules/cluster.vpc/terraform-aws-vpc-2.44.0/main.tf line 20, in locals:
20: vpce_tags = merge(
21: var.tags,
22: var.vpc_endpoint_tags,
23: )
|----------------
| var.tags is empty map of string
| var.vpc_endpoint_tags is empty map of string
I also have set for the module inputs, tags and vpc_endpoint_tags so their should be maps/content.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform Configuration Files
Debug Output
Crash Output
https://gist.github.com/ipmb/fcac64a32f0cac1d50d59062dbaca21e
Expected Behavior
Not crash :)
Actual Behavior
Panic
Steps to Reproduce
terraform plan
Additional Context
References
The text was updated successfully, but these errors were encountered: