File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
modules/vm-workload-scanning Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,8 @@ resource "google_iam_workload_identity_pool_provider" "agentless" {
6666 attribute_condition = " attribute.aws_role==\" arn:aws:sts::${ data . sysdig_secure_trusted_cloud_identity . trusted_identity . aws_account_id } :assumed-role/${ data . sysdig_secure_trusted_cloud_identity . trusted_identity . aws_role_name } /${ data . sysdig_secure_tenant_external_id . external_id . external_id } \" "
6767
6868 attribute_mapping = {
69- " google.subject" = " assertion.arn"
70- " attribute.aws_account" = " assertion.account"
71- " attribute.role" = " assertion.arn.extract(\" /assumed-role/{role}/\" )"
72- " attribute.session" = " assertion.arn.extract(\" /assumed-role/{role_and_session}/\" ).extract(\" /{session}\" )"
69+ " google.subject" = " assertion.arn" ,
70+ " attribute.aws_role" = " assertion.arn"
7371 }
7472
7573 aws {
You can’t perform that action at this time.
0 commit comments