Deploying via CloudFormation. EC2 resource is created via ASG and fails during the Systems Manager automation.
Confirmed that previously supplied domain credentials are for 'Domain Admin'
Here is the output from Systems Manager Automation Step 7: configurerdgw:
Creating DSC Certificate to Encrypt Credentials in MOF File
Exporting the public key certificate
Directory: C:\
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 2/21/2023 7:50 PM 862 EC2AMAZ-8PMN9QH.cer
Setting Default CAP
Failed to set Default CAP Access to the object at RDS:\GatewayServer\CAP\Default-CAP is denied for the cmdlet New-Item.The supplied value is not valid, or you do not have sufficient permissions.
Deploying via CloudFormation. EC2 resource is created via ASG and fails during the Systems Manager automation. Confirmed that previously supplied domain credentials are for 'Domain Admin'
Here is the output from Systems Manager Automation Step 7: configurerdgw: