Skip to content

Missing PermissionsΒ #51

@ivan-pinatti

Description

@ivan-pinatti

Describe the Bug

After the deployment of the component, on Datadog's integration page there are warning of missing permissions in some AWS accounts. The missing permissions are;

  • lambda:GetPolicy
  • states:ListStateMachines
  • ec2:SearchTransitGatewayRoutes

It depends on the resources of the accounts, some will complain about 1 or 2 of these permissions.

Expected Behavior

It should have zero warnings after the deployment with the integrations: [all] is set (default).

Steps to Reproduce

  1. Create the component with the config and deploy it;
components:
  terraform:
    datadog-integration:
      vars:
        enabled: true
        integrations: [all]
  1. Go to Datadog Integration page
  2. Go to AWS
  3. Inspect the Account's Configuration
  4. Check the Issues tab
  5. Inspect the Warning message

Screenshots

AWS Integration Page (Step 3)
Image

Issues Tab (Step 5)
Image

Inspect Error (Step 6)
Image

Environment (please complete the following information):

  • OS: Linux
  • Atmos: v1.180.0
  • Terraform: v1.12.1

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugπŸ› An issue with the system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions