From 47d88b022511021940cd3e59d1d70eec8108794f Mon Sep 17 00:00:00 2001 From: Andre Narciso <37899965+andrenarciso4@users.noreply.github.com> Date: Wed, 9 Oct 2024 18:03:17 +0100 Subject: [PATCH] add missing aws-marketplace:MeterUsage permission (#118) --- resources/ecs/roxprox-taskrole.template.json | 3 ++- terraform/iam.tf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/ecs/roxprox-taskrole.template.json b/resources/ecs/roxprox-taskrole.template.json index 8201d62..2bda06b 100644 --- a/resources/ecs/roxprox-taskrole.template.json +++ b/resources/ecs/roxprox-taskrole.template.json @@ -28,7 +28,8 @@ { "Effect": "Allow", "Action": [ - "aws-marketplace:RegisterUsage" + "aws-marketplace:RegisterUsage", + "aws-marketplace:MeterUsage" ], "Resource": "*" } diff --git a/terraform/iam.tf b/terraform/iam.tf index acb7594..2246357 100644 --- a/terraform/iam.tf +++ b/terraform/iam.tf @@ -125,7 +125,8 @@ resource "aws_iam_role_policy" "roxprox-task-role" { { "Effect": "Allow", "Action": [ - "aws-marketplace:RegisterUsage" + "aws-marketplace:RegisterUsage", + "aws-marketplace:MeterUsage" ], "Resource": "*" }