We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3153f8 + 8d36bd1 commit 6d91363Copy full SHA for 6d91363
1 file changed
azure/templates/deploy-service.yml
@@ -82,6 +82,14 @@ steps:
82
- ${{ each pre_template_step in parameters.pre_template }}:
83
- ${{ pre_template_step }}
84
85
+ # pre_template steps might have been doing cross account stuff
86
+ # make sure we bring everything back to the correct AWS role here
87
+ - template: ../components/aws-assume-role.yml
88
+ parameters:
89
+ role: "auto-ops"
90
+ profile: "apm_${{ parameters.aws_account }}"
91
+ aws_account: "${{ parameters.aws_account }}"
92
+
93
- ${{ if parameters.jinja_templates }}:
94
- bash: mkdir -p group_vars/all && touch jinja_templates.yml
95
workingDirectory: "$(UTILS_DIR)/ansible/"
0 commit comments