File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ data "aws_iam_policy_document" "lambda_policy_doc" {
4141 ]
4242
4343 resources = [
44- " arn:aws:autoscaling:${ local . region } :${ local . account_id } :*:autoScalingGroupName/${ var . asg_name } "
44+ " arn:aws:autoscaling:${ local . region } :${ local . account_id } :autoScalingGroup: *:autoScalingGroupName/${ var . asg_name } "
4545 ]
4646 }
4747 statement {
@@ -60,7 +60,7 @@ data "aws_iam_policy_document" "lambda_policy_doc" {
6060 ]
6161
6262 resources = [
63- var . codepipeline_arn
63+ " * "
6464 ]
6565 }
6666
Original file line number Diff line number Diff line change @@ -28,8 +28,3 @@ variable "tags" {
2828 type = map
2929 description = " Map of tags that should be added to stuff"
3030}
31-
32- variable "codepipeline_arn" {
33- type = string
34- description = " ARN of the codepipeline we are interacting with. * will work for all"
35- }
You can’t perform that action at this time.
0 commit comments