fireflycons / PSCloudFormation

Easy CloudFormation deployments from PowerShell command line. Exports CloudFormation Stacks to Terraform
MIT License
6 stars 0 forks source link

Module does not respond to changes in authentication #64

Closed fireflycons closed 4 years ago

fireflycons commented 4 years ago

Authentication context remains that which was in force when the module loaded...

Set-AWSCredential -ProfileName account_A
Import-Module PSCloudFormation
Set-AWSCredential -ProfileName account_B

# Runs in account_A context - BUG
Update-PSCFNStack ...
fireflycons commented 4 years ago

Authentication code has been completely rewritten for v4, so this should now be resolved.