diff --git a/.cfnlintrc.yaml b/.cfnlintrc.yaml index ab3c4b409..de9d8e402 100644 --- a/.cfnlintrc.yaml +++ b/.cfnlintrc.yaml @@ -147,3 +147,4 @@ ignore_checks: - E3001 # Invalid or unsupported Type; common in transform tests since they focus on SAM resources - W2001 # Parameter not used - E3006 # Resource type check; we have some Foo Bar resources + - W3037 # Ignore cfn-lint check for non existing IAM permissions \ No newline at end of file diff --git a/tests/translator/input/state_machine_with_schedule_role.yaml b/tests/translator/input/state_machine_with_schedule_role.yaml index 7525f8593..366e335bc 100644 --- a/tests/translator/input/state_machine_with_schedule_role.yaml +++ b/tests/translator/input/state_machine_with_schedule_role.yaml @@ -12,7 +12,7 @@ Resources: Schedule: rate(1 minute) Description: test schedule Enabled: false - RoleArn: arn:0000000000:iam::role/yoyo + RoleArn: arn:aws:iam::123456123456:role/testRole CWScheduleCreateRole: Type: Schedule Properties: diff --git a/tests/translator/output/aws-cn/state_machine_with_schedule_role.json b/tests/translator/output/aws-cn/state_machine_with_schedule_role.json index 463a32738..c1c30b800 100644 --- a/tests/translator/output/aws-cn/state_machine_with_schedule_role.json +++ b/tests/translator/output/aws-cn/state_machine_with_schedule_role.json @@ -32,7 +32,7 @@ "Ref": "MyStateMachine" }, "Id": "MyStateMachineCWScheduleStepFunctionsTarget", - "RoleArn": "arn:0000000000:iam::role/yoyo" + "RoleArn": "arn:aws:iam::123456123456:role/testRole" } ] }, diff --git a/tests/translator/output/aws-us-gov/state_machine_with_schedule_role.json b/tests/translator/output/aws-us-gov/state_machine_with_schedule_role.json index 463a32738..c1c30b800 100644 --- a/tests/translator/output/aws-us-gov/state_machine_with_schedule_role.json +++ b/tests/translator/output/aws-us-gov/state_machine_with_schedule_role.json @@ -32,7 +32,7 @@ "Ref": "MyStateMachine" }, "Id": "MyStateMachineCWScheduleStepFunctionsTarget", - "RoleArn": "arn:0000000000:iam::role/yoyo" + "RoleArn": "arn:aws:iam::123456123456:role/testRole" } ] }, diff --git a/tests/translator/output/state_machine_with_schedule_role.json b/tests/translator/output/state_machine_with_schedule_role.json index 463a32738..c1c30b800 100644 --- a/tests/translator/output/state_machine_with_schedule_role.json +++ b/tests/translator/output/state_machine_with_schedule_role.json @@ -32,7 +32,7 @@ "Ref": "MyStateMachine" }, "Id": "MyStateMachineCWScheduleStepFunctionsTarget", - "RoleArn": "arn:0000000000:iam::role/yoyo" + "RoleArn": "arn:aws:iam::123456123456:role/testRole" } ] },