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

containerApps: properties.runningStatus is missing #2322

Open
1 task done
philipwolfe opened this issue Oct 11, 2024 · 2 comments
Open
1 task done

containerApps: properties.runningStatus is missing #2322

philipwolfe opened this issue Oct 11, 2024 · 2 comments

Comments

@philipwolfe
Copy link

Resource Type

Microsoft.App/containerApps

Api Version

2024-03-01

Issue Type

Missing property(s)

Other Notes

properties.runningStatus is missing

runningStatus is flagged as not allowed, but a what-if command says it is fine.
Warning BCP037: The property "runningStatus" is not allowed on objects of type "ContainerAppProperties". Permissible properties include "managedEnvironmentId".

This is needed for container apps that should be deployed in a stopped mode so a logic app can start and stop them.

Bicep Repro

resource containerApp 'Microsoft.App/containerApps@2024-03-01' = {
  name: appName
  location: location
  properties: {
     ...
    runningStatus: 'Stopped'
  }
}

Confirm

  • I have read the troubleshooting guide and looked for duplicates.
@philipwolfe
Copy link
Author

Version: Bicep CLI version 0.30.23 (ec3612efc7)

@philipwolfe
Copy link
Author

Still an issue on Bicep CLI version 0.31.34 (ec82b47d63)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant