mag00_75
Level 8 Champion
Level 8 Champion

AWS Inventory with EC2 Beacon, region setting in powershell

We are running 2019R2 on-premise with a beacon in AWS to be able to fetch the instance data directly thru IAM roles assigned to the beacon instance. The powershell script do not check which region the beacon server is installed in (which I think should be improved), so we need to add the default region somehow. Any thoughts where it shall be defined for the out of the box adapter? - It works if we logon and run powershell as administrator and run Set-DefaultAwsRegion -region eu-north-1 and then starts the batch job. But it doesn't stick if we logout. - It doesn't work to set the commands and region variable in the $profile.AllUsersAllHosts $StoredAWSRegion=’eu-north-1’ Set-DefaultAwsRegion -region eu-north-1

0 Kudos

This thread has been automatically locked due to inactivity.

To continue the discussion, please start a new thread.

1 Reply
mrichardson
Flexera Alumni

I believe this is another duplicate of https://community.flexera.com/t5/FlexNet-Manager-Forum/AWS-Inventory-with-EC2-Beacon-region-setting-...

(Anything expressed here is my own view and not necessarily that of my employer, Flexera)
If the solution provided has helped, please mark it as such as this helps everyone to know what works.