Skip to content

Commit

Permalink
- removed debug step from pipeline
Browse files Browse the repository at this point in the history
- update bicep resource name
  • Loading branch information
mlhaufe committed Jul 25, 2024
1 parent d961496 commit 2d77217
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/azure-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
# Temporary step to verify the resource group
# It exists, but is not being seen by the next step
- name: Verify Resource Group
run: |
az group show --name ${{ secrets.AZURE_RG }} --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Lint Bicep
run: |
az bicep build --file ./azure/bicep/main.bicep
Expand Down
6 changes: 3 additions & 3 deletions azure/bicep/main.bicep
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
targetScope = 'resourceGroup'

@allowed(['dev', 'prod'])
param environment string = 'dev'
// @allowed(['dev', 'prod'])
// param environment string = 'dev'
param location string = resourceGroup().location
param name string = 'final-hill-cathedral'
// param dockerComposeFile string

// Dummy for testing
resource stg 'Microsoft.Storage/storageAccounts@2023-04-01' = {
name: toLower('stg-${name}-${environment}')
name: toLower('stg-${name}')
location: location
sku: {
name: 'Standard_LRS'
Expand Down

0 comments on commit 2d77217

Please sign in to comment.