We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8281a1 commit 61c4fc0Copy full SHA for 61c4fc0
main.tf
@@ -673,6 +673,8 @@ locals {
673
}
674
675
data "aws_iam_policy_document" "aws_fsx_csi_driver" {
676
+ count = var.enable_aws_fsx_csi_driver ? 1 : 0
677
+
678
statement {
679
sid = "AllowCreateServiceLinkedRoles"
680
resources = ["arn:${local.partition}:iam::*:role/aws-service-role/s3.data-source.lustre.fsx.${local.dns_suffix}/*"]
@@ -825,6 +827,8 @@ locals {
825
827
826
828
829
data "aws_iam_policy_document" "aws_load_balancer_controller" {
830
+ count = var.enable_aws_load_balancer_controller ? 1 : 0
831
832
833
sid = "AllowCreateServiceLinkedRole"
834
effect = "Allow"
0 commit comments