aws-quickstart / quickstart-microsoft-rdgateway

AWS Quick Start Team
Apache License 2.0
48 stars 87 forks source link

unable to launch stack in gov-cloud region due to invalid arn #39

Open nikheelsoni opened 2 years ago

nikheelsoni commented 2 years ago

Stack is failing to create resources due to an invalid arn when launching in a gov-cloud region. We can see this is an issue when creating the "ExecutionResourceRole":

Resource: !Sub arn:aws:autoscaling::${AWS::AccountId}:autoScalingGroup::autoScalingGroupName/${AWS::StackName}

This should be the following if not mistaken:

Resource: !Sub arn:${AWS::Partition}:autoscaling::${AWS::AccountId}:autoScalingGroup::autoScalingGroupName/${AWS::StackName}

awspd commented 2 years ago

Having the same problem, initially deployed an AD quickstart which included the RDGW as a nested stack. However, using the standalone results in the same exact error for me in GovCloud CFTemplateStatus

RDGWRoleFail