pulumi-aws
pulumi-aws copied to clipboard
Always changed `aws.apigatewayv2.Stage.defaultRouteSettings.loggingLevel`
What happened?
Creating a resource of type aws.apigatewayv2.Stage with a property defaultRouteSettings.loggingLevel set to either ERROR or INFO will always report a diff [diff: ~defaultRouteSettings]
As far as i can find there is no logging level setting for HTTP API (https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-logging.html) it is only relevant for REST API
Expected Behavior
I don't expect there to be any diff between two consecutive runs of pulumi up
Steps to reproduce
- create the following resoruce and run
pulumi up
const apiStage = new aws.apigatewayv2.Stage(
'stage',
{
apiId: api.id,
name: '$default',
accessLogSettings: {
destinationArn: logGroup.arn,
format: JSON.stringify(logFormat),
},
defaultRouteSettings: { loggingLevel: 'ERROR' }
},
);
2 Run pulumi preview or pulumi up it will display a diff which is unexpected
Output of pulumi about
CLI
Version 3.54.0
Go Version go1.19.5
Go Compiler gc
Plugins NAME VERSION aws 5.29.1 aws-apigateway 1.0.1 docker 3.6.1 nodejs unknown
Host
OS darwin
Version 12.6
Arch x86_64
This project is written in nodejs: executable='...node' version='v16.18.0'
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).