|
@@ -6,7 +6,7 @@ data aws_iam_policy_document "qualys_assume_role_policy" {
|
|
|
principals {
|
|
|
type = "AWS"
|
|
|
identifiers = [
|
|
|
- "arn:${data.aws_partition.current.partition}:iam::${var.service_account_home}:user/service_accounts/qualys"
|
|
|
+ "arn:${data.aws_partition.current.partition}:iam::${var.common_services_account}:user/service_accounts/qualys"
|
|
|
]
|
|
|
}
|
|
|
actions = [
|
|
@@ -17,7 +17,7 @@ data aws_iam_policy_document "qualys_assume_role_policy" {
|
|
|
test = "StringEquals"
|
|
|
variable = "sts:ExternalId"
|
|
|
values = [
|
|
|
- var.externalid
|
|
|
+ var.qualys_connector_externalid
|
|
|
]
|
|
|
}
|
|
|
}
|