-
-
Notifications
You must be signed in to change notification settings - Fork 615
Open
Description
Description
After upgrading to 6.0.5 the module produces the error stating that the providers indicated "requires replacement" on module.ecs_service_frontend.aws_vpc_security_group_egress_rule.this["egress_all"]
│ for a non-existent attribute path cty.Path{cty.GetAttrStep{Name:""}}.
- [x ] ✋ I have searched the open/closed issues and my issue is not listed.
Versions
- Module version [Required]:
6.05 - Terraform version:
1.7.0 - Provider version(s):
6.3.0
Reproduction Code [Required]
Steps to reproduce the behavior:
security_group_ingress_rules = {
http_port_5286_new = {
type = "ingress"
from_port = 5286
to_port = 5286
protocol = "tcp"
referenced_security_group_id = data.aws_security_groups.sg_from_alb.ids[0]
}
}
security_group_egress_rules = {
egress_all = {
type = "egress"
protocol = "-1"
from_port = 0
to_port = 65535
cidr_ipv4 = "0.0.0.0/0"
}
Expected behavior
A security group with the ingress and egress-rules to be created.
Actual behavior
Apply fails with this error:
╷
│ Error: Provider produced invalid plan
│
│ Provider "registry.terraform.io/hashicorp/aws" has indicated "requires
│ replacement" on
│ module.ecs_service_frontend.aws_vpc_security_group_egress_rule.this["egress_all"]
│ for a non-existent attribute path cty.Path{cty.GetAttrStep{Name:""}}.
│
│ This is a bug in the provider, which should be reported in the provider's
│ own issue tracker.
Metadata
Metadata
Assignees
Labels
No labels