Skip to content

Conversation

@rioriost
Copy link

Line 64, not only on Linux, but also on macOS, need to set permission.

@rioriost
Copy link
Author

The last commit to fix bicep errors is the most important.

@taimur1991
Copy link

Hi @rioriost, could you please share the errors or logs that you were facing when executing bicep deployment?

@rioriost
Copy link
Author

Hi @rioriost, could you please share the errors or logs that you were facing when executing bicep deployment?

ERROR: error executing step command 'provision': initializing provisioning manager: failed to compile bicep template: failed running bicep build: exit code: 1, stdout: , stderr: /Users/rifujita/Desktop/postgres-agentic-shop/infra/core/database/flexibleserver.bicep(20,7) : Warning no-unused-params: Parameter "entraAdministratorName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/database/flexibleserver.bicep(23,7) : Warning no-unused-params: Parameter "entraAdministratorObjectId" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/database/flexibleserver.bicep(31,7) : Warning no-unused-params: Parameter "entraAdministratorType" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/ai/cognitiveservices.bicep(50,8) : Warning use-safe-access: Use the safe access (.?) operator. [https://aka.ms/bicep/linter/use-safe-access]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/ai/cognitiveservices.bicep(64,16) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: function 'listKeys' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/main.bicep(165,5) : Warning no-unused-vars: Variable "postgresEntraAdministratorObjectId" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/main.bicep(166,5) : Warning no-unused-vars: Variable "postgresEntraAdministratorType" is declared but never used. [https://aka.ms/bicep/linter/no-unused-vars]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/main.bicep(208,22) : Error BCP104: The referenced module has errors. [https://aka.ms/bicep/core-diagnostics#BCP104]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/main.bicep(449,1) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: output name 'POSTGRES_PASSWORD' suggests a secret [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/main.bicep(449,35) : Warning outputs-should-not-contain-secrets: Outputs should not contain secrets. Found possible secret: secure value 'administratorLoginPassword' [https://aka.ms/bicep/linter/outputs-should-not-contain-secrets]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/host/container-app-arize.bicep(88,7) : Warning no-unused-params: Parameter "exists" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/host/container-app-arize.bicep(89,7) : Warning no-unused-params: Parameter "registries" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/host/container-app.bicep(88,7) : Warning no-unused-params: Parameter "exists" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/host/container-app.bicep(89,7) : Warning no-unused-params: Parameter "registries" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
/Users/rifujita/Desktop/postgres-agentic-shop/infra/core/host/container-apps-env-registry.bicep(22,10) : Error BCP420: The scope could not be resolved at compile time because the supplied expression is ambiguous or too complex. Scoping expressions must be reducible to a specific kind of scope without knowledge of parameter values. [https://aka.ms/bicep/core-diagnostics#BCP420]

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.

2 participants