[DevOps] Table Storage용 bicep 파일 만들기 #283#292
Merged
justinyoo merged 21 commits intoaliencube:mainfrom Sep 14, 2024
Merged
Conversation
Member
Author
트러블슈팅 [완료 : 현재는 안됨]확인결과 현재는 아래 증상이 정상이고, 차후에 이런 증상이 있어 트러블슈팅 중인데 실마리를 찾지 못하고 있습니다. 증상을 해결해주는 것들, 하지만 여전히 azd up만으로는 배포되지 않음
시도해도 증상이 해소되지 않았던 것들
# 다음 구문을 azure.yaml에 추가함
infra:
bicep: ./infra/storage-account.bicep# az 버전정보
→ az version
{
"azure-cli": "2.63.0",
"azure-cli-core": "2.63.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"containerapp": "0.3.53"
}
}# azd 버전정보
→ azd --version
azure-cli 2.63.0
core 2.63.0
telemetry 1.1.0
Extensions:
containerapp 0.3.53
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location '/opt/homebrew/Cellar/azure-cli/2.63.0/libexec/bin/python'
Extensions directory '/Users/bachtaeyeong/.azure/cliextensions'
Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.3.9.4)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date. |
justinyoo
requested changes
Sep 1, 2024
Contributor
justinyoo
left a comment
There was a problem hiding this comment.
테이블 배열 넘기는 부분은 aspire.bicep 파일에서 모듈을 불러오는 것으로 하면서 거기서 넘겨주면 됩니다.
Member
Author
|
해당 테이블 스토리지를 참조해서 의존객체 생성하는 부분은 |
justinyoo
requested changes
Sep 5, 2024
Contributor
justinyoo
left a comment
There was a problem hiding this comment.
몇가지 추가적으로 고려해 볼 사항을 리뷰 코멘트로 남겨뒀습니다.
…tae0y/azure-openai-sdk-proxy into feature/283-table-storage-bicep
justinyoo
requested changes
Sep 7, 2024
Contributor
justinyoo
left a comment
There was a problem hiding this comment.
현재 컨테이너 앱을 키볼트에 연결시키는 부분이 없는데, 이건 같이 고민을 좀 해 보시죠.
Member
Author
권한 설정하는 부분은 아래와 같이 구문을 추가해두었습니다 // Role Assignment for Key Vault secret : creator admin, apiapp user
resource keyVaultSecretRoleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
name: guid(resourceGroup().id, resolvedKeyVaultName, 'secret-role-assignment')
properties: {
principalId: creatorAdminPrincipalId
roleDefinitionId: '00482A5A-887F-4FB3-B363-3B7FE8E74483' // administrator role
}
}
resource keyVaultSecretApiAppRoleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
name: guid(resourceGroup().id, resolvedKeyVaultName, 'secret-apiapp-role-assignment')
properties: {
principalId: apiAppUserPrincipalId
roleDefinitionId: '4633458B-17DE-408A-B874-0445C86B69E6' // secret user role
}
} |
Member
Author
|
커넥션스트링 자체는 잘 저장하고, |
justinyoo
requested changes
Sep 7, 2024
justinyoo
requested changes
Sep 10, 2024
tae0y
commented
Sep 12, 2024
justinyoo
requested changes
Sep 12, 2024
justinyoo
requested changes
Sep 14, 2024
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
관련이슈 #283 #213
관련PR #281
실행/배포
테스트