s
https://github.com/hashicorp/terraform/pull/15553#issuecomment-334724247
Size: a a a
s
ЯК
VT
skip_requesting_account_id - (DEPRECATED, Optional) Skip requesting the account ID.
VT
s
skip_requesting_account_id - (DEPRECATED, Optional) Skip requesting the account ID.
skip_credentials_validation = true
обращения пошли по указанному endpointZB
А
The depends_on meta-argument, if present, must be a list of references to other resources in the same module
А
i
А
output "eks_cluster_role_policy_attachment" {и потом в другом модуле
value = aws_iam_role_policy_attachment.cluster_AmazonEKSClusterPolicy
}
...
depends_on = [но получается такое
data.terraform_remote_state.iam.outputs.eks_cluster_role_policy_attachment,data.terraform_remote_state.iam.outputs.eks_service_role_policy_attachment,
]
Error: Invalid depends_on reference
on cluster.tf line 12, in resource "aws_eks_cluster" "main":
12: data.terraform_remote_state.iam.outputs.eks_cluster_role_policy_attachment,
References in depends_on must be to a whole object (resource, etc), not to an
attribute of an object.
А
N
А
aws_iam_role_policy_attachment.cluster_AmazonEKSClusterPolicy
А
AR
resource "inner.res" "dependant" {
name = ["name", var.outer_dependency_id][0]
}
А
А
AE
MM
N