pulumi-azure-native: Azure Spring App - Unable to set `httpsOnly` and `public` properties to true
What happened?
When creating an Azure Spring App, Pulumi always applies a value of false for the public and httpsOnly properties no matter the input provide.
Steps to reproduce
Execute the below code:
import * as pulumi from "@pulumi/pulumi";
import { App, Service } from "@pulumi/azure-native/appplatform/v20220901preview"
export const app = (
rgName: pulumi.Input<string>,
) => {
const svc = new Service("svc", {
resourceGroupName: rgName,
serviceName: "azspa-test",
});
new App("test", {
resourceGroupName: rgName,
serviceName: svc.name,
appName: "azspa-app",
identity: { type: "SystemAssigned" },
properties: {
httpsOnly: true,
public: true
}
});
};
execute pulumi up
execute pulumi stack export --file export.json
Expected Behavior
public and httpsOnly properties should be set to true
Actual Behavior
public and httpsOnly properties are set to false and a pulumi up does not change anything.
Output of pulumi about
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you’ve opened one already).
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 15 (8 by maintainers)
Yes - absolutely does. Here is a variation of the original code provided that I’ve been testing with:
I ran a short debugging session and logged our requests and Azure responses. We seem to set the properties correctly:
and even the first response comes with both true
but when the App is finally provisioned, they are suddenly false:
It definitely looks like a service issue to me.