Skip to main content

astroctl cloud aws connect

Link your AWS account to AstroPulse

Synopsis​

Grant AstroPulse access to your AWS account to create and manage EKS clusters.

Creates a CloudFormation stack in your account that sets up the required IAM role. Run this once per cluster. It opens a pre-filled CloudFormation link in your browser.

Each cluster AstroPulse creates also gets an IAM role for its vulnerability scanner that can only pull images from ECR, so private images can be scanned.

Your account ID: aws sts get-caller-identity --query Account --output text

Terminal
astroctl cloud aws connect [flags]

Examples​

Terminal
# Connect AWS account
astroctl cloud aws connect --account-id 123456789012 --region us-east-1 --cluster-name prod

Options​

Terminal
--account-id string AWS account ID (12 digits) (required)
--cluster-name string Cluster name for this connection (required)
--duration string Credential duration (e.g., 30m, 1h) (default "1h")
--force-update Force reconfiguration even if already set up
-h, --help help for connect
--region string AWS region (e.g., us-east-1) (required)

Options inherited from parent commands​

Terminal
-o, --output string Output format (table|json|yaml) (default "table")

SEE ALSO​