resource "consul_service" "pulp_lb" {
name = "pulp"
id = "pulp-lb"
tags = ["lb"]
tagged_addresses = {}
}
Error Output
# terraform apply --var-file=/tmp/dev.tfvars
╷
│ Error: Missing required argument
│
│ on consul.tf line 15, in resource "consul_service" "pulp_lb":
│ 15: resource "consul_service" "pulp_lb" {
│
│ The argument "node" is required, but no definition was found.
╵
╷
│ Error: Unsupported argument
│
│ on consul.tf line 19, in resource "consul_service" "pulp_lb":
│ 19: tagged_addresses = {}
│
│ An argument named "tagged_addresses" is not expected here.
╵
Expected Behavior
tagged_addresses map should have been expected.
Actual Behavior
tagged_addresses map was not expected
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
Terraform Version
terraform -v
Terraform v1.7.1 on linux_amd64
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Error Output
Expected Behavior
tagged_addresses map should have been expected.
Actual Behavior
tagged_addresses map was not expected
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply