-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Description
Description
#1200 switches from the deprecated name attribute to the new region attribute. However, this attribute was only introduced in version 6 of the provider and the required_providers block still allows for usage of v5. When used with v5, the module fails to compile.
- ✋ I have searched the open/closed issues and my issue is not listed.
Versions
-
Module version [Required]: 5.21.1
-
Terraform version: 1.12.2
-
Provider version(s): 5.92.0
Reproduction Code [Required]
Any invocation of the module will trigger this
Expected behavior
Terraform should compile without error
Actual behavior
╷
│ Error: Unsupported attribute
│
│ on .terraform/modules/test.vpc/vpc-flow-logs.tf line 28, in locals:
│ 28: "arn:${data.aws_partition.current[0].partition}:logs:${data.aws_region.current[0].region}:${data.aws_caller_identity.current[0].account_id}:log-group:${log_group.name}:*"
│
│ This object has no argument, nested block, or exported attribute named
│ "region".
╵
sepulrator, Roberdvs, richardowen, mikalai-t, zayneatwork and 13 more
Metadata
Metadata
Assignees
Labels
No labels