You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2026/08/29 01:15:55 UTC

(grails-core) 01/01: Allow Forge AWS deploys to describe Auto Scaling groups

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch fix/forge-aws-asg-describe
in repository https://gitbox.apache.org/repos/asf/grails-core.git

commit 0be4f672c51c277d2366d1541252602522afc305
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Fri Aug 28 21:15:45 2026 -0400

    Allow Forge AWS deploys to describe Auto Scaling groups
    
    GitHub Actions UpdateEnvironment failed with
    autoscaling:DescribeAutoScalingGroups. Grant describe on Auto Scaling
    and EC2 instances so Elastic Beanstalk can inspect the environment.
---
 grails-forge/infrastructure/shared.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/grails-forge/infrastructure/shared.yaml b/grails-forge/infrastructure/shared.yaml
index ef12cb5e2d..fd196c8d5f 100644
--- a/grails-forge/infrastructure/shared.yaml
+++ b/grails-forge/infrastructure/shared.yaml
@@ -296,6 +296,15 @@ Resources:
                   - cloudformation:GetTemplate
                 Effect: Allow
                 Resource: '*'
+              - Action:
+                  - autoscaling:DescribeAutoScalingGroups
+                  - autoscaling:DescribeAutoScalingInstances
+                  - autoscaling:DescribeScalingActivities
+                  - autoscaling:DescribeLaunchConfigurations
+                  - ec2:DescribeInstances
+                  - ec2:DescribeInstanceStatus
+                Effect: Allow
+                Resource: '*'
             Version: '2012-10-17'
           PolicyName: DeployGrailsForgeApplicationVersions