-
Notifications
You must be signed in to change notification settings - Fork 74
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 #824 from IBM/aws-rosa-hotfix
Hotfixes for AWS
- Loading branch information
Showing
15 changed files
with
85 additions
and
103 deletions.
There are no files selected for viewing
34 changes: 3 additions & 31 deletions
34
automation-roles/10-validation/validate-variables-destroy/tasks/aws-validate-variables.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,4 @@ | ||
--- | ||
- name: Get aws-access-key secret from in the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "aws-access-key" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _aws_access_key | ||
|
||
- name: Get aws-secret-access-key secret from the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "aws-secret-access-key" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _aws_secret_access_key | ||
|
||
- name: Get aws-session-token secret from the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "aws-session-token" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _aws_session_token | ||
|
||
- name: Retrieve rosa-login-token secret from the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "rosa-login-token" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _rosa_login_token | ||
- name: Get AWS credentials from the vault | ||
include_role: | ||
name: aws-get-credentials |
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
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
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
32 changes: 32 additions & 0 deletions
32
automation-roles/99-generic/aws/aws-get-credentials/tasks/main.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
- name: Get aws-access-key secret from in the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "aws-access-key" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _aws_access_key | ||
|
||
- name: Get aws-secret-access-key secret from the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "aws-secret-access-key" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _aws_secret_access_key | ||
|
||
- name: Get aws-session-token secret from the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "aws-session-token" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _aws_session_token | ||
|
||
- name: Retrieve rosa-login-token secret from the vault | ||
include_role: | ||
name: vault-get-secret | ||
vars: | ||
secret_name: "rosa-login-token" | ||
secret_group: "{{ environment_name }}" | ||
_p_secret_variable: _rosa_login_token |