diff --git a/modules/vm-workload-scanning/main.tf b/modules/vm-workload-scanning/main.tf index e4652b3..c4f0bc2 100644 --- a/modules/vm-workload-scanning/main.tf +++ b/modules/vm-workload-scanning/main.tf @@ -145,7 +145,7 @@ resource "sysdig_secure_cloud_auth_account_component" "vm_workload_scanning_acco version = "v0.1.0" trusted_role_metadata = jsonencode({ aws = { - role_name = aws_iam_role.scanning[0].name + role_name = aws_iam_role.scanning[0].arn } })