forked from juju/terraform-provider-juju
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#653 from alesstimec/fix-hardcoded-admin-username
juju#653 ## Description The terraform provider code used a hardcoded `admin` user in a number of place, which caused issues if a different username (or client credentails) was used. With this change we use the username (or clientID) as specified in the provider. 3.6 does not associate ssh keys with users - ssh keys are global per model - so the username is ignored. For consistency we pass in the username that is used to log in to the controller because in Juju 4 ssh keys will be associated with users. ## Type of change - Logic changes in resources (the API interaction with Juju has been changed) ## QA steps Run JAAS integration tests.
- Loading branch information
Showing
5 changed files
with
47 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters