Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing actions in the AWS Fargate policy #2663

Open
landro opened this issue Apr 22, 2024 · 3 comments
Open

Missing actions in the AWS Fargate policy #2663

landro opened this issue Apr 22, 2024 · 3 comments

Comments

@landro
Copy link

landro commented Apr 22, 2024

To get the logging working, I had to add the following the policy listed at https://www.artillery.io/docs/load-testing-at-scale/aws-fargate#iam-permissions

    {
      "Sid": "LogsPermissions",
      "Effect": "Allow",
      "Action": [
        "logs:PutRetentionPolicy",
 +       "logs:CreateLogStream",
 +       "logs:CreateLogGroup",
 +      "logs:PutLogEvents"
      ],
      "Resource": [
        "arn:aws:logs:*:123456789000:log-group:artilleryio-log-group/*"
      ]
    }
@hassy
Copy link
Member

hassy commented Apr 22, 2024

thank you @landro!

@landro
Copy link
Author

landro commented Apr 22, 2024

It seems the artilleryio-ecs-worker-policy is not attached to the artilleryio-ecs-worker-role - I believe that is the underlying issue.
That would invalidate what I suggest above.

@bernardobridge
Copy link
Contributor

It seems the artilleryio-ecs-worker-policy is not attached to the artilleryio-ecs-worker-role - I believe that is the underlying issue.
That would invalidate what I suggest above.

Hi @landro . Indeed, the statements you mentioned in the original post shouldn't actually be needed in the role that triggers the test, only in the artilleryio-ecs-worker-role (via the artilleryio-ecs-worker-policy).

It's strange that it wasn't attached to the role.

  • Did you get any error from the CLI when running the test?
  • Was this working before, and then stopped working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants