Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update KeyVault references #4112

Merged
merged 8 commits into from
Nov 6, 2024
Merged

Conversation

marrobi
Copy link
Member

@marrobi marrobi commented Oct 24, 2024

Fixes #4110 #2463

This pull request updates the references to KeyVault secrets in the code. The AAD_TENANT_ID, API_CLIENT_ID, and API_CLIENT_SECRET references are now constructed using the version so terraform cascades the update.

Copy link

github-actions bot commented Oct 24, 2024

Unit Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 5011793.

♻️ This comment has been updated with latest results.

@marrobi
Copy link
Member Author

marrobi commented Oct 24, 2024

/test-extended

Copy link

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/11498586135 (with refid 9655aa5d)

(in response to this comment from @marrobi)

@marrobi marrobi marked this pull request as ready for review October 24, 2024 11:44
@marrobi marrobi requested review from Danny-Cooke-CK, tim-allen-ck and tamirkamara and removed request for tim-allen-ck October 24, 2024 11:44
@tamirkamara
Copy link
Collaborator

What does it mean that it cascades the update?

@marrobi
Copy link
Member Author

marrobi commented Nov 4, 2024

now constructed using the version so terraform cascades the update.

So that it updates the API app configuration values when the key vault secret version is updates. It seems that terraform doesn't always update the reference.

As per issue discussion see - hashicorp/terraform-provider-azurerm#3129 (comment)

Copy link
Collaborator

@tim-allen-ck tim-allen-ck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yuvalyaron
Copy link
Collaborator

/test-extended

@yuvalyaron yuvalyaron enabled auto-merge (squash) November 6, 2024 13:00
Copy link

github-actions bot commented Nov 6, 2024

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/11704066429 (with refid 9655aa5d)

(in response to this comment from @yuvalyaron)

@marrobi
Copy link
Member Author

marrobi commented Nov 6, 2024

/test-extended

Copy link

github-actions bot commented Nov 6, 2024

🤖 pr-bot 🤖

🏃 Running extended tests: https://github.com/microsoft/AzureTRE/actions/runs/11708350316 (with refid 9655aa5d)

(in response to this comment from @marrobi)

@yuvalyaron yuvalyaron merged commit f0c2a59 into microsoft:main Nov 6, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expired API secret - Causes failure on api/workspaces
4 participants