DEV Community

Discussion on: Connecting to Azure with Ansible

joshduffney profile image
Josh Duffney Author

Hey Shan,

You're very welcome and thank you for taking the time to read and walk through the tutorials! You're correct with the mistake you identified. I've updated the code for the roleAssignmentSplat hashtable. I really appreciate you taking the time to point this out. Thank you!

$roleAssignmentSplat = @{
    ObjectId = $
    RoleDefinitionName = 'Contributor'
    Scope = "/subscriptions/$subId"
jerppuliz profile image
Jere Vekka

For some reason, the error still exists in the code :|

Thread Thread
joshduffney profile image
Josh Duffney Author

Not sure if it just didn't save or got reverted but it's been fixed! Thanks for the comment.