Acquiring state lock. This may take a few moments...
Releasing state lock. This may take a few moments...
╷
│ Error: Value for unconfigurable attribute
│
│ with module.logstash.module.ec2_logstash.aws_eip.additional,
│ on .terraform/modules/logstash.ec2_logstash/eni.tf line 29, in resource "aws_eip" "additional":
│ 29: domain = "vpc"
│
│ Can't configure a value for "domain": its value will be decided automatically based on the result of applying this configuration.
╵
╷
│ Error: Value for unconfigurable attribute
│
│ with module.logstash.module.ec2_logstash.aws_eip.default,
│ on .terraform/modules/logstash.ec2_logstash/main.tf line 175, in resource "aws_eip" "default":
│ 175: domain = "vpc"
│
│ Can't configure a value for "domain": its value will be decided automatically based on the result of applying this configuration.
Describe the Bug
The Module plan fails when provisioning EC2 instance because of the "aws_eip" resource vpc argument.
Expected Behavior
Terraform should plan an EC2 instance.
Steps to Reproduce
run terraform plan for the minimal module setup
Screenshots
No response
Environment
No response
Additional Context
No response