Skip to content

Commit

Permalink
Revert "Add missing version for invalid iam reqs?"
Browse files Browse the repository at this point in the history
This reverts commit 4850c76.
  • Loading branch information
austindrenski committed May 8, 2024
1 parent b9359cc commit 8566a4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ecs/cloudformation.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,9 +524,8 @@ func (b *ecsAPIService) createPolicies(project *types.Project, service types.Ser
Resource: arns,
},
},
Version: "2012-10-17", // https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_version.html
},
PolicyName: fmt.Sprintf("%sGrantAccessToSecrets", normalizeResourceName(service.Name)),
PolicyName: fmt.Sprintf("%sGrantAccessToSecrets", service.Name),
},
}
}
Expand Down

0 comments on commit 8566a4e

Please sign in to comment.