Skip to content

Commit 23000e3

Browse files
committed
Rename policy variable in iam_test.go
Signed-off-by: Ivan <s20026352@gmail.com>
1 parent 48514b2 commit 23000e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/cfn/builder/iam_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ var _ = Describe("template builder for IAM", func() {
336336
]`))
337337
Expect(t).To(HaveOutputWithValue(outputs.IAMServiceAccountRoleName, `{ "Fn::GetAtt": "Role1.Arn" }`))
338338
Expect(t).To(HaveResourceWithPropertyValue("PolicyAWSLoadBalancerController", "PolicyDocument", expectedAWSLoadBalancerControllerPolicyDocument))
339-
Expect(t).To(HaveResourceWithPropertyValue("PolicyAWSGlobalAccelerator", "PolicyDocument", expectedAWSAWSGlobalAcceleratorPolicyDocument))
339+
Expect(t).To(HaveResourceWithPropertyValue("PolicyAWSGlobalAccelerator", "PolicyDocument", expectedAWSGlobalAcceleratorPolicyDocument))
340340
})
341341

342342
It("can parse an iamserviceaccount addon template", func() {
@@ -809,7 +809,7 @@ const expectedAWSLoadBalancerControllerPolicyDocument = `{
809809
"Version": "2012-10-17"
810810
}`
811811

812-
const expectedAWSAWSGlobalAcceleratorPolicyDocument = `{
812+
const expectedAWSGlobalAcceleratorPolicyDocument = `{
813813
"Statement": [
814814
{
815815
"Effect": "Allow",

0 commit comments

Comments
 (0)