Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Need some help with starting the implementation #9

@giesan

Description

@giesan

Now I would like to start with the implementation. For the beginning I need some help.
Firstly, I would like to transform the file score.yaml into the target format bicep.

score.yaml

apiVersion: score.dev/v1b1
metadata:
    name: example
containers:
    podinfo:
        image: stefanprodan/podinfo

manifest.bicep

resource myEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' = {
  name: 'my-example-environment'
  location: resourceGroup().location
  properties: {
    appLogsConfiguration: {
      destination: 'azure-monitor'
    }
  }
}

resource myApp 'Microsoft.App/containerApps@2024-03-01' = {
  name: 'my-example-app'
  location: resourceGroup().location
  properties: {
    managedEnvironmentId: myEnvironment.id
    configuration: {
      ingress: {
        external: true
      }
    }
    template: {
      containers: [
        {
          image: 'stefanprodan/podinfo'
          name: 'podinfo'
        }
      ]
    }
  }
}

I currently have the following questions:

  • Do we need a default provisioner for the environment 'myEnvironment'? The environment must always be present and all other resources are mounted in this environment.
  • What would be the best way to set up the converter? Microsoft has come up with its own Bicep format and I have not yet found a practical way to create the format.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions