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
╷
│ Error: Reference to undeclared local value
│
│ on .terraform/modules/mytest/modules/iam-assumable-role/main.tf line 26, in data "aws_iam_policy_document" "assume_role":
│ 26: values = ["arn:${local.partition}:iam::${local.account_id}:role${var.role_path}${local.role_name_condition}"]
│
│ A local value with the name "partition" has not been declared.
╵
╷
│ Error: Reference to undeclared local value
│
│ on .terraform/modules/mytest/modules/iam-assumable-role/main.tf line 26, in data "aws_iam_policy_document" "assume_role":
│ 26: values = ["arn:${local.partition}:iam::${local.account_id}:role${var.role_path}${local.role_name_condition}"]
│
│ A local value with the name "account_id" has not been declared.
The text was updated successfully, but these errors were encountered:
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.
Description
I have an issue while creating a simple role with
allow_self_assume_role
.Versions
Module version [Required]: 5.5.2
Terraform version:
1.1.2
Provider version(s):
Terraform v1.1.2
on linux_amd64
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
terraform plan
should return no errorsActual behavior
The text was updated successfully, but these errors were encountered: